Cannot import Addresses from exported data due to title translation

Bug #811523 reported by Yann Papouin

This bug report was converted into a question: question #165175: Cannot import Addresses from exported data due to title translation.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

There is no way to import import addresses from exported data due to title translation (Monsieur -> M., Madame -> Mme).
You can try with the attached CSV file exported with the FRENCH language with the "compatible import" option.

[2011-07-16 15:52:04,091][online_test1] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/opt/openerp/openerp-server-6.0.2/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/openerp-server-6.0.2/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/openerp-server-6.0.2/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/openerp-server-6.0.2/bin/osv/orm.py", line 868, in import_data
    process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
  File "/opt/openerp/openerp-server-6.0.2/bin/osv/orm.py", line 818, in process_liness
    res = _get_id(relation, line[i], current_module, mode)
  File "/opt/openerp/openerp-server-6.0.2/bin/osv/orm.py", line 741, in _get_id
    raise ValueError('No record found for %s' % (id,))
ValueError: No record found for Monsieur

Revision history for this message
Yann Papouin (yann-papouin) wrote :
Changed in openobject-server:
status: New → Invalid
Revision history for this message
Yann Papouin (yann-papouin) wrote :

Fixed in 6.1 release, the right field is now correct: title/id

Changed in openobject-server:
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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