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

Hi,

When uploading partner updates from a CSV file, the "name" column is filled for every record which I want to update.

Some record I want to leave as is in odoo.

Problem : if I leave the cell blank in the cvs, odoo erases the name of this record (actually sets it to "")

I have tried to enter "0", 0, False, "False" to no avail.

So what value should I enter in a CSV file's cell so that it is ignored when odoo processes the file ?

external_id
name
notes

__export__.res_partner_2


Do not update the name

__export__.res_partner_3

John Doe

set the name to "John Doe"

Thanks for your time.

Nicolas

Avatar
Abbandona
Risposta migliore

You can leave same name as in odoo. Don't change name in csv for which  you not  want to update.


Avatar
Abbandona
Autore

hi, It's an option of course but I'm not in an export -> re-import scenario, data comes from another source. Thanks.

are you updating only name field or other data also?

Autore

The same issue arises in many other columns.

I get random value updates in random columns... So all columns should be ignored by default or updated if any data is provided.

Risposta migliore

https://youtu.be/6htDhwSNeb0

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
5
giu 17
11562
1
mar 15
4932
3
giu 20
3777
1
nov 18
9304
11
feb 17
63563