← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 806345] Re: customer import not possible coz payment terms

 

Hi,
thx for your Feedback :)

but two questions to this case:

1. Why is the import compatible export not functional? <- Maybe than is
this the bug??

2. The client is crashing after this Error, is this an Bug?

And one question to your second example:
How can I find out what I have to put in this field, I mean if I wish to
use another value than the 30 days payment term ....?? Is there anywhere
a description?

Best regards


Am 12.07.2011 11:23, schrieb Vinay Rana (openerp):
> Hello ,
>
> Your attached csv file is not correct, I have successfully imported the
> partners with payment terms using following ways:
>
>> You can import the csv using field label:
> "Name","Payment Term"
> "Vinay Rana","30 Days End of Month"
> "Amit Patel","30 Days End of Month"
>
>> You can import the csv using field name also:
> "name","property_payment_term/id"
> "Vinay Rana","account.account_payment_term"
> "Amit Patel","account.account_payment_term"
>
> Hope this will help you.
> So I am not considering this issue as a bug It's a wrong configuration of csv at imported time.
>
> Thanks.
>
> ** Changed in: openobject-server
>        Status: Incomplete => Invalid
>

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

Status in OpenERP Server:
  Invalid

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


References