← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

** Changed in: openobject-server
       Status: Confirmed => In Progress

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