bug with the import data in supplier list

Bug #712984 reported by Aline (OpenERP)
This bug report is a duplicate of:  Bug #697129: import error in v6rc2. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
In Progress
High
OpenERP's Framework R&D

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

Changed in openobject-server:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
Vo Minh Thu (thu)
Changed in openobject-server:
status: Confirmed → In Progress
Revision history for this message
Vo Minh Thu (thu) wrote :

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

Revision history for this message
claude dunnigan (claudedunnigan) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.