Community mailing list archives

community@mail.odoo.com

Re: Stop on error and return the exception message during importing

by
Hieu Nguyen
- 12/02/2015 04:13:16
Thanks, Yoshi & Edwin. Your information is very helpful.

Regards,
Hieu

On 02/12/2015 12:17, Yoshi Tashiro wrote:
<blockquote cite="mid:00f201d12cc0$0468e020$0d3aa060$@roomsfor.hk" type="cite">

Hi Hieu,

 

https://github.com/OCA/connector-interfaces/tree/8.0/base_import_async

 

Haven’t tried this myself, but thought you might find it useful.

 

---

Yoshi Tashiro

 

From: Edwin Blommaerts [mailto:edwin.blommaerts@gmail.com]
Sent: Tuesday, December 1, 2015 5:28 PM
To: Community <community@mail.odoo.com>
Subject: Re: Stop on error and return the exception message during importing

 

Hi there,

 

I don't know if this is still relevant for your version, or if this functionality has been deprecated.

 

I hope it helps!

 

Regards,

Edwin

 

2015-12-01 8:16 GMT+00:00 Hieu Nguyen <hieutngn@gmail.com>:

Dear,

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?

Regards,
Hieu

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

 

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe