Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4605 Zobrazení

Hi !

Here is a sample, not working (ERREUR: une valeur NULL viole la contrainte NOT NULL de la colonne « name » at row 2)

id,seller_ids/pricelist_ids/price 
product_product_1,666

Thanks for your help !

Avatar
Zrušit
Autor Nejlepší odpověď

I just used a TransientModel with fields I wanted to fill, then overriding create and write methods to put the values in the right objects. Then, whenever I want to update my prices, I just import through csv on the transient object. Simple, really.

Avatar
Zrušit
Nejlepší odpověď

error says that 'name' field is mandatory and you can't omit that field. for resolve this error, you've to add "name" field to your csv file.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
zář 22
19157
3
kvě 17
6708
1
bře 15
5326
2
bře 15
5235
0
bře 15
5114