← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 811523] [NEW] Cannot import Addresses from exported data due to title translation

 

Public bug reported:

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

** Affects: openobject-server
     Importance: Undecided
         Status: New

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

Title:
  Cannot import Addresses from exported data due to title translation

Status in OpenERP Server:
  New

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

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


Follow ups

References