c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #26362
[Bug 726456] Re: translation problems when import while the data is translated
Hello Aline,
I have checked your issued with latest trunk but I didn't faced any
problem.
Can you check again with the latest code?
Thanks.
** Changed in: openobject-server
Status: Confirmed => Incomplete
--
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/726456
Title:
translation problems when import while the data is translated
Status in OpenERP Server:
Incomplete
Bug description:
create an empty db (without demo data) in french.
- got to customer (shortcut "Client") list
- create a "Client" and don't forget to fill in "Pays" field (country_id)
- export the "Client" (with this field)
- in the csv you can see "Belgique"
- import this csv
-> error due to translation, the system doesn't know "Belgique" but
"Belgium"
L'import a échoué car : Traceback (most recent call last): File
"/home/aline/openerp/trunk/server/openerp/netsvc.py", line 410, in
dispatch result =
ExportService.getService(service_name).dispatch(method, auth, params)
File
"/home/aline/openerp/trunk/server/openerp/service/web_services.py",
line 598, in dispatch res = fn(db, uid, *params) File
"/home/aline/openerp/trunk/server/openerp/osv/osv.py", line 122, in
wrapper return f(self, dbname, *args, **kwargs) File
"/home/aline/openerp/trunk/server/openerp/osv/osv.py", line 176, in
execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File
"/home/aline/openerp/trunk/server/openerp/osv/osv.py", line 167, in
execute_cr return getattr(object, method)(cr, uid, *args, **kw) File
"/home/aline/openerp/trunk/server/openerp/osv/orm.py", line 868, in
import_data process_liness(self, datas, [], current_module,
self._name, fields_def, position=position) File
"/home/aline/openerp/trunk/server/openerp/osv/orm.py", line 818, in
process_liness res = _get_id(relation, line[i], current_module, mode)
File "/home/aline/openerp/trunk/server/openerp/osv/orm.py", line 741,
in _get_id raise ValueError('No record found for %s' % (id,))
ValueError: No record found for Belgique
-
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/726456/+subscriptions
References