← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 700770] Re: [6.0 rc2] export translation fails with error

 

the tools.trans_export is called with dbname parameter instead cr
paremeter.

** Attachment added: "base_export_language.py"
   https://bugs.launchpad.net/openobject-server/+bug/700770/+attachment/1791217/+files/base_export_language.py

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

Title:
  [6.0 rc2] export translation fails with error

Status in OpenObject Server:
  Fix Released

Bug description:
  Export translation fails:

[2011-01-09 19:46:16,890][bs_test03_fr] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/module/wizard/base_export_language.py", line 50, in act_getfile
    tools.trans_export(this.lang, mods, buf, this.format, dbname=cr.dbname)
TypeError: trans_export() got an unexpected keyword argument 'dbname'





References