Import CSV with existing db_id-fields fails
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) | Status tracked in Trunk | |||||
5.0 |
Won't Fix
|
Undecided
|
Unassigned | |||
Trunk |
Fix Released
|
Low
|
OpenERP's Framework R&D |
Bug Description
Importing a csv-file which references an existing ID in the database (eg. period_id:db_id), failes to find the correct database ID.
I think this is due a mis-indentation in orm.py line 749-756. This code is never reached, unless the indentation diminished by one:
Original starting line 730:
if (len(field)
should be :
if (len(field)
Kind regards,
Ruben
Hello Ruben,
Would you please describe the exact steps that you followed to produce the error because I tried to import with existing db_ids and I was able to import the records.
Thanks.