Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
4328 Переглядів

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
18867
3
трав. 17
6466
1
бер. 15
5069
2
бер. 15
5023
0
бер. 15
4903