← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 861348] Re: not able to import customer due to payable an receivable fields

 

*** This bug is a duplicate of bug 798684 ***
    https://bugs.launchpad.net/bugs/798684

any way, the erro is useless ! read this bug :
https://bugs.launchpad.net/openerp-web/+bug/871625

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/861348

Title:
  not able to import customer due to payable an receivable fields

Status in OpenERP Server:
  Confirmed

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:127.0.0.1 - - [28/Sep/2011 12:08:29] "POST /web/import/detect_data HTTP/1.1" 200 -
  [2011-09-28 12:08:30,756][?] ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
    File "/home/aline/openerp/server/trunk/openerp/osv/osv.py", line 119, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/aline/openerp/server/trunk/openerp/osv/osv.py", line 173, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/aline/openerp/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/aline/openerp/server/trunk/openerp/osv/orm.py", line 1335, in import_data
      process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
    File "/home/aline/openerp/server/trunk/openerp/osv/orm.py", line 1294, in process_liness
      res = _get_id(relation, line[i], current_module, mode)
    File "/home/aline/openerp/server/trunk/openerp/osv/orm.py", line 1188, in _get_id
      record_id = ir_model_data_obj._get_id(cr, uid, module, xml_id)
    File "/home/aline/openerp/server/trunk/openerp/tools/cache.py", line 18, in lookup
      r = self.lookup(self2, cr, *args)
    File "/home/aline/openerp/server/trunk/openerp/tools/cache.py", line 46, in lookup
      value = d[args] = self.method(self2, cr, *args)
    File "/home/aline/openerp/server/trunk/openerp/addons/base/ir/ir_model.py", line 621, in _get_id
      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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/861348/+subscriptions


References