← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 712984] Re: bug with the import data in supplier list

 

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

Marked as a duplicate (even if in one case it is in suppliers and in the
other case it is clients), will change the importance of the other bug
report to match this one (i.e. High).

** This bug has been marked a duplicate of bug 697129
   import error in v6rc2
 * You can subscribe to bug 697129 by following this link: https://bugs.launchpad.net/openobject-server/+bug/697129/+subscribe

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

Title:
  bug with the import data in supplier list

Status in OpenERP Server:
  In Progress

Bug description:
  In a french db (don't know if it could be the problem), web and GTK

  go to supplier form (Achat/Carnet d'Adresses / Fournisseurs)
  export these fields : 
  - Actif
  - Catégories
  - Client
  - Compte Client
  - Compte fournisseurs
  - Contacts
  - Email
  - Fournisseur
  - Langue
  - ID
  - Pays
  - Partenaire Parent
  -Référence
  - site web
  - Société
  -TVA
  - Ville

  export and then import directly without changes :

  
  L'import a échoué car : Traceback (most recent call last): File "/home/odoo/openerp/server/bin/netsvc.py", line 492, in dispatch result = ExportService.getService(service_name).dispatch(method, auth, params) File "/home/odoo/openerp/server/bin/addons/use_control/services.py", line 40, in dispatch return super(recording_objects_proxy, self).dispatch(func, auth, params) File "/home/odoo/openerp/server/bin/service/web_services.py", line 599, in dispatch res = fn(db, uid, *params) File "/home/odoo/openerp/server/bin/addons/audittrail/audittrail.py", line 511, in execute res = my_fct(db, uid, model, method, *args) File "/home/odoo/openerp/server/bin/addons/audittrail/audittrail.py", line 489, in my_fct return fct_src(db, uid, model, method, *args) File "/home/odoo/openerp/server/bin/osv/osv.py", line 122, in wrapper return f(self, dbname, *args, **kwargs) File "/home/odoo/openerp/server/bin/osv/osv.py", line 176, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/home/odoo/openerp/server/bin/osv/osv.py", line 167, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/home/odoo/openerp/server/bin/osv/orm.py", line 861, in import_data process_liness(self, datas, [], current_module, self._name, fields_def, position=position) File "/home/odoo/openerp/server/bin/osv/orm.py", line 794, in process_liness res2 = process_liness(self, datas, prefix + [field[len(prefix)]], current_module, relation_obj._name, newfd, pos, first) File "/home/odoo/openerp/server/bin/osv/orm.py", line 770, in process_liness if field[len(prefix)]=='id': IndexError: list index out of range



References