not able to import customer due to payable an receivable fields
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP's Framework R&D |
Bug Description
in web client :
- export customers from a db with demo data (export also fields payable and receivable account)
- import those data in a same db without demo data
-> all data seems ok
Click import :
[2011-09-28 12:08:29,167][?] INFO:werkzeug:
[2011-09-28 12:08:30,756][?] ERROR:web-
Traceback (most recent call last):
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
process_
File "/home/
res = _get_id(relation, line[i], current_module, mode)
File "/home/
record_id = ir_model_
File "/home/
r = self.lookup(self2, cr, *args)
File "/home/
value = d[args] = self.method(self2, cr, *args)
File "/home/
raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))
ValueError: No such external ID currently defined in the system: .res_partner_525
description: | updated |
description: | updated |
Changed in openerp-web: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
affects: | openerp-web → openobject-server |
Hello Aline,
I reproduce this bug following way but this bug generate from server side. I test this bug in gtk-client and gtk-client also generate the traceback from server side. account_ payable, property_ account_ receivable, city, name, database id)
-> Create new DB with demo data and export customers data( export field :- id, property_
-> If import this file in same db then it's working well. But create new DB with out demo data and import same file in customers model.
If i export data with demo data and then same file import in with out demo data db then id reference not available in database. so it generate traceback.
If i missing something then correct me.
Thanks,