Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
4318 Представления

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
18865
3
мая 17
6461
1
мар. 15
5063
2
мар. 15
5019
0
мар. 15
4901