Community mailing list archives

Stop on error and return the exception message during importing

Hieu Nguyen
- 12/01/2015 03:14:12

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?