Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4329 Visualizzazioni

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 !

Avatar
Abbandona
Autore Risposta migliore

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.

Avatar
Abbandona
Risposta migliore

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.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
set 22
18867
3
mag 17
6466
1
mar 15
5070
2
mar 15
5023
0
mar 15
4903