Hello Schmutzfuss,

For import you need to follow the configuration issue regarding data
format If you assigned wrong configuration then OpenERP definitely will
not consider those file.

I already mention the related right format in my above comment.
Payment terms is a many2one relation so you have to assign the created payment 
terms name field for demo data id.

If you have OPW contract with us then you can contact with us on
[email protected], They will definitely solve your end query.

Again I will say you imported wrong file in your database. So I am not
considering this issue as a generalize base or bug.

Thanks.

** Changed in: openobject-server
       Status: New => Opinion

-- 
You received this bug notification because you are a member of OpenERP
CTP, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/806345

Title:
  customer import not possible coz payment terms

Status in OpenERP Server:
  Opinion

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')

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

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to