Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

CSV import : how not to update a record's field ?

By
Nicolas Clavier
on 8/4/16, 9:12 AM 299 views

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

0
Ajeet Yadav
On 8/4/16, 9:20 AM

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


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

Nicolas Clavier
on 8/4/16, 9:27 AM

are you updating only name field or other data also?

Ajeet Yadav
on 8/4/16, 9:35 AM

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.

Nicolas Clavier
on 8/4/16, 9:39 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 8/4/16, 9:12 AM
Seen: 299 times
Last updated: 8/4/16, 9:20 AM