跳至內容
選單
此問題已被標幟
2 回覆
4334 瀏覽次數

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 !

頭像
捨棄
作者 最佳答案

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.

頭像
捨棄
最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
9月 22
18873
3
5月 17
6466
1
3月 15
5075
2
3月 15
5025
0
3月 15
4904