← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 806345] [NEW] customer import not possible coz payment terms and client crash

 

Public bug reported:

Hi,
I am using as client side  Kubuntu (Natty) and the GTK Client 6.0.2
on server side Debian (Squeeze) and the 6.0.2 OpenERP Server
The following is also happening with the demo database!

during try to Import customer datasets i realized that I cannot import
datasets with payment terms. To make sure that there is no fault from my
side, I also tried export and import the same customer. Everytime if I
use also payment fields (it doesn't matter which one / or all of them)
the import is failing

Errormessage:
Environment Information : 
System : Linux-2.6.38-10-generic-pae-i686-with-Ubuntu-11.04-natty
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 11.04
Release:	11.04
Codename:	natty
Operating System Release : 2.6.38-10-generic-pae
Operating System Version : #44-Ubuntu SMP Thu Jun 2 21:50:56 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : de_DE.UTF8
Python Version : 2.7.1+
OpenERP-Client Version : 6.0.2
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/share/pyshared/openerp-server/osv/orm.py", line 868, in import_data
    process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
  File "/usr/share/pyshared/openerp-server/osv/orm.py", line 818, in process_liness
    res = _get_id(relation, line[i], current_module, mode)
  File "/usr/share/pyshared/openerp-server/osv/orm.py", line 732, in _get_id
    record_id = ir_model_data_obj._get_id(cr, uid, module, xml_id)
  File "/usr/share/pyshared/openerp-server/tools/misc.py", line 823, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/usr/share/pyshared/openerp-server/addons/base/ir/ir_model.py", line 602, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to .3
letzte Zeile (beim Versuch mit der Zahlungs Id, alle anderen habe ich natürlich auch probiert)
File "/usr/share/pyshared/openerp-server/addons/base/ir/ir_model.py", line 602, in _get_id
raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to .3

After this I get the following Error in client:
XML-RPC Fehler!

('No references to .3', 'Traceback (most recent call last):\n File
"/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch\n
result = ExportService.getService(service_name).dispatch(method, auth,
params)\n File "/usr/share/pyshared/openerp-
server/service/web_services.py", line 599, in dispatch\n res = fn(db,
uid, *params)\n File "/usr/share/pyshared/openerp-server/osv/osv.py",
line 122, in wrapper\n return f(self, dbname, *args, **kwargs)\n File
"/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute\n
res = self.execute_cr(cr, uid, obj, method, *args, **kw)\n File
"/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in
execute_cr\n return getattr(object, method)(cr, uid, *args, **kw)\n File
"/usr/share/pyshared/openerp-server/osv/orm.py", line 868, in
import_data\n process_liness(self, datas, [], current_module,
self._name, fields_def, position=position)\n File "/usr/share/pyshared
/openerp-server/osv/orm.py", line 818, in process_liness\n res =
_get_id(relation, line[i], current_module, mode)\n File
"/usr/share/pyshared/openerp-server/osv/orm.py", line 732, in _get_id\n
record_id = ir_model_data_obj._get_id(cr, uid, module, xml_id)\n File
"/usr/share/pyshared/openerp-server/tools/misc.py", line 823, in
cached_result\n result2 = fn(self2, cr, *args[:self.skiparg-2],
**kwargs2)\n File "/usr/share/pyshared/openerp-
server/addons/base/ir/ir_model.py", line 602, in _get_id\n raise
ValueError(\'No references to %s.%s\' % (module, xml_id))\nValueError:
No references to .3\n')

After this the client is crashing.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  customer import not possible coz payment terms and client crash

Status in OpenERP Modules (addons):
  New

Bug description:
  Hi,
  I am using as client side  Kubuntu (Natty) and the GTK Client 6.0.2
  on server side Debian (Squeeze) and the 6.0.2 OpenERP Server
  The following is also happening with the demo database!

  during try to Import customer datasets i realized that I cannot import
  datasets with payment terms. To make sure that there is no fault from
  my side, I also tried export and import the same customer. Everytime
  if I use also payment fields (it doesn't matter which one / or all of
  them) the import is failing

  Errormessage:
  Environment Information : 
  System : Linux-2.6.38-10-generic-pae-i686-with-Ubuntu-11.04-natty
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 11.04
  Release:	11.04
  Codename:	natty
  Operating System Release : 2.6.38-10-generic-pae
  Operating System Version : #44-Ubuntu SMP Thu Jun 2 21:50:56 UTC 2011
  Operating System Architecture : 32bit
  Operating System Locale : de_DE.UTF8
  Python Version : 2.7.1+
  OpenERP-Client Version : 6.0.2
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/share/pyshared/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/share/pyshared/openerp-server/osv/orm.py", line 868, in import_data
      process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
    File "/usr/share/pyshared/openerp-server/osv/orm.py", line 818, in process_liness
      res = _get_id(relation, line[i], current_module, mode)
    File "/usr/share/pyshared/openerp-server/osv/orm.py", line 732, in _get_id
      record_id = ir_model_data_obj._get_id(cr, uid, module, xml_id)
    File "/usr/share/pyshared/openerp-server/tools/misc.py", line 823, in cached_result
      result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
    File "/usr/share/pyshared/openerp-server/addons/base/ir/ir_model.py", line 602, in _get_id
      raise ValueError('No references to %s.%s' % (module, xml_id))
  ValueError: No references to .3
  letzte Zeile (beim Versuch mit der Zahlungs Id, alle anderen habe ich natürlich auch probiert)
  File "/usr/share/pyshared/openerp-server/addons/base/ir/ir_model.py", line 602, in _get_id
  raise ValueError('No references to %s.%s' % (module, xml_id))
  ValueError: No references to .3

  After this I get the following Error in client:
  XML-RPC Fehler!

  ('No references to .3', 'Traceback (most recent call last):\n File
  "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in
  dispatch\n result =
  ExportService.getService(service_name).dispatch(method, auth,
  params)\n File "/usr/share/pyshared/openerp-
  server/service/web_services.py", line 599, in dispatch\n res = fn(db,
  uid, *params)\n File "/usr/share/pyshared/openerp-server/osv/osv.py",
  line 122, in wrapper\n return f(self, dbname, *args, **kwargs)\n File
  "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in
  execute\n res = self.execute_cr(cr, uid, obj, method, *args, **kw)\n
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in
  execute_cr\n return getattr(object, method)(cr, uid, *args, **kw)\n
  File "/usr/share/pyshared/openerp-server/osv/orm.py", line 868, in
  import_data\n process_liness(self, datas, [], current_module,
  self._name, fields_def, position=position)\n File "/usr/share/pyshared
  /openerp-server/osv/orm.py", line 818, in process_liness\n res =
  _get_id(relation, line[i], current_module, mode)\n File
  "/usr/share/pyshared/openerp-server/osv/orm.py", line 732, in
  _get_id\n record_id = ir_model_data_obj._get_id(cr, uid, module,
  xml_id)\n File "/usr/share/pyshared/openerp-server/tools/misc.py",
  line 823, in cached_result\n result2 = fn(self2, cr,
  *args[:self.skiparg-2], **kwargs2)\n File "/usr/share/pyshared
  /openerp-server/addons/base/ir/ir_model.py", line 602, in _get_id\n
  raise ValueError(\'No references to %s.%s\' % (module,
  xml_id))\nValueError: No references to .3\n')

  After this the client is crashing.

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


Follow ups

References