Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4372 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ย. 22
18909
3
พ.ค. 17
6482
1
มี.ค. 15
5126
2
มี.ค. 15
5050
0
มี.ค. 15
4939