Skip to Content
Menu
This question has been flagged
2 Replies
4354 Rodiniai

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 !

Portretas
Atmesti
Autorius Best Answer

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.

Portretas
Atmesti
Best Answer

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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
rugs. 22
18901
3
geg. 17
6476
1
kov. 15
5119
2
kov. 15
5045
0
kov. 15
4932