credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #02207
[Bug 908289] Re: can not import translation
def trans_load_data(cr, fileobj, fileformat, lang, lang_name=None, verbose=True, context=None):
"""Populates the ir_translation table. Fixing the res_ids so that they point
correctly to ir_model_data is done in a separate step, using the
'trans_update_res_ids' function below."""
there is no such function
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/908289
Title:
can not import translation
Status in OpenERP Server:
New
Bug description:
Traceback (most recent call last):
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/netrpc_server.py", line 62, in run
result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/web_services.py", line 580, in dispatch
res = fn(db, uid, *params)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/srv/openerp/instances/trunk/openobject-addons/audittrail/audittrail.py", line 495, in execute_cr
return fct_src(cr, uid, model, method, *args)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/addons/base/module/wizard/base_import_language.py", line 66, in import_lang
tools.trans_update_res_ids(cr)
AttributeError: 'module' object has no attribute 'trans_update_res_ids
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/908289/+subscriptions
References