← 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

I just pulled latest revision,

 imports now works fine mostly everywhere,

I see a new field in opportunity export, great !!!!!

Type=opportunity wich should place allimports in opportunity instead of
leads

Because they used to go in leads, but when importing, it doesnt reconize
opportunity, tried in french, acsi problem,

ver 6.0.2 today lastest pull

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

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


References