Community mailing list archives
Re: Stop on error and return the exception message during importingby
Haven’t tried this myself, but thought you might find it useful.
Edwin Blommaerts [mailto:firstname.lastname@example.org]
Sent: Tuesday, December 1, 2015 5:28 PM
To: Community <email@example.com>
Subject: Re: Stop on error and return the exception message during importing
I don't know if this is still relevant for your version, or if this functionality has been deprecated.
But please have a look at this : https://www.odoo.com/forum/help-1/question/import-data-from-terminal-using-openerp-server-16734
I hope it helps!
2015-12-01 8:16 GMT+00:00 Hieu Nguyen <firstname.lastname@example.org>:
I have about 800 products that need to be imported into Odoo and to be updated by a csv file every week.
I often have to wait for Odoo to process all the lines in the csv file before it eventually returns with some warnings/errors in certain lines in the CSV file. I then fix the lines, start over and wait again.
It would be nice if there is an option to make Odoo stops and returns the first error it encounters during the importing.
Could anyone give me some tips and tricks before I get my hands dirty with python code?