Community mailing list archives

community@mail.odoo.com

account-financial-report-webkit broken after update

by
Apertoso, Maarten De Wispelaere
- 08/06/2014 09:40:36
Hi all,

a recent update seems to have broken the account-financial-report webkit module?

We are getting the error posted below on multiple, otherwise unrelated OpenERP 7 installations:

Any news on a fix for this?

Thanks,
Maarten

2014-08-06 13:13:11,583 23275 ERROR cs openerp.netsvc: Webkit render
Traceback (most recent call last):
 File "/opt/openerp/v7.0/cs-addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 222, in create_single_pdf
   **self.parser_instance.localcontext)
 File "/usr/lib/python2.7/dist-packages/mako/template.py", line 397, in render
   return runtime._render(self, self.callable_, args, data)
 File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 764, in _render
   **_kwargs_for_callable(callable_, data))
 File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 796, in _render_context
   _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
 File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 822, in _exec_template
   callable_(context, *args, **kwargs)
 File "memory:0x1b886c50", line 49, in render_body
   
${_('Chart of Account')}
TypeError: translate_call() takes exactly 3 arguments (2 given) Traceback (most recent call last): File "/opt/openerp/v7.0/odoo/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/opt/openerp/v7.0/odoo/openerp/service/web_services.py", line 654, in dispatch res = fn(db, uid, *params) File "/opt/openerp/v7.0/odoo/openerp/service/web_services.py", line 760, in exp_report_get return self._check_report(report_id) File "/opt/openerp/v7.0/odoo/openerp/service/web_services.py", line 738, in _check_report netsvc.abort_response(exc, exc.message, 'warning', exc.traceback) File "/opt/openerp/v7.0/odoo/openerp/netsvc.py", line 71, in abort_response raise openerp.osv.osv.except_osv(description, details) except_osv: (u'Webkit render', u'\n\nTraceback (most recent call last):\n File "/opt/openerp/v7.0/cs-addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 222, in create_single_pdf\n **self.parser_instance.localcontext)\n File "/usr/lib/python2.7/dist-packages/mako/template.py", line 397, in render\n return runtime._render(self, self.callable_, args, data)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 764, in _render\n **_kwargs_for_callable(callable_, data))\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 796, in _render_context\n _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 822, in _exec_template\n callable_(context, *args, **kwargs)\n File "memory:0x1b886c50", line 49, in render_body\n
${_(\'Chart of Account\')}
\nTypeError: translate_call() takes exactly 3 arguments (2 given)\n')