Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Account Financial Report Webkit Module not working on Odoo Apps Store

By
Dasadiya Chaitanya
on 10/29/15, 3:35 AM 659 views

I have tried to download the Account financial report webkit module for OpenERP 7.0.

Account Financial Report Webkit module download and install successfully in my local system in my fresh new addons for OpenERP 7.0.

I have downloaded that module in below URL

Click To download from the Apps Store

I got in stuck while i am printing the General Ledger report PDF Format

I got the Below Traceback while I am printing the report.

File "/usr/lib/python2.7/dist-packages/mako/template.py", line 302, in render

return runtime._render(self, self.callable_, args, data)

File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 660, in _render

**_kwargs_for_callable(callable_, data))

File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 692, in _render_context

_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)

File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 718, in _exec_template

callable_(context, *args, **kwargs)

File "memory:0x9cb385ecL", line 22, in render_body

<%

TypeError: translate_call() takes exactly 2 arguments (3 given)

2015-10-29 07:17:06,249 15317 ERROR dynaweld_15_09_15 openerp.service.web_services: Exception: (u'Webkit render', u'\n\nTraceback (most recent call last):\n File "/home/best/workspace/dynaweld/custom_addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 252, in create_single_pdf\n **parser_instance.localcontext)\n File "/usr/lib/python2.7/dist-packages/mako/template.py", line 302, in render\n return runtime._render(self, self.callable_, args, data)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 660, in _render\n **_kwargs_for_callable(callable_, data))\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 692, in _render_context\n _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 718, in _exec_template\n callable_(context, *args, **kwargs)\n File "memory:0x9cb385ecL", line 22, in render_body\n <%\nTypeError: translate_call() takes exactly 2 arguments (3 given)\n')

Traceback (most recent call last):

File "/home/best/workspace/dynaweld/server/openerp/service/web_services.py", line 712, in go

(result, format) = obj.create(cr, uid, ids, datas, context)

File "/home/best/workspace/dynaweld/addons/report_webkit/webkit_report.py", line 353, in create

result = self.create_source_pdf(cursor, uid, ids, data, report_xml, context)

File "/home/best/workspace/dynaweld/server/openerp/report/report_sxw.py", line 513, in create_source_pdf

return self.create_single_pdf(cr, uid, ids, data, report_xml, context)

File "/home/best/workspace/dynaweld/custom_addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 257, in create_single_pdf

raise except_osv(_('Webkit render'), msg)

except_osv: (u'Webkit render', u'\n\nTraceback (most recent call last):\n File "/home/best/workspace/dynaweld/custom_addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 252, in create_single_pdf\n **parser_instance.localcontext)\n File "/usr/lib/python2.7/dist-packages/mako/template.py", line 302, in render\n return runtime._render(self, self.callable_, args, data)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 660, in _render\n **_kwargs_for_callable(callable_, data))\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 692, in _render_context\n _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 718, in _exec_template\n callable_(context, *args, **kwargs)\n File "memory:0x9cb385ecL", line 22, in render_body\n <%\nTypeError: translate_call() takes exactly 2 arguments (3 given)\n')

2015-10-29 07:17:06,367 15317 ERROR dynaweld_15_09_15 openerp.netsvc: Webkit render

Can any one help me to how can i fix my issue for above traceback.

0

Odoo

--Odoo --
1328
| 5 2 5
kerala, India
--Odoo --

Working as a Odoo Functional and Technical Expert

Odoo
On 10/29/15, 3:46 AM

Try with below answer------

https://www.odoo.com/forum/help-1/question/coercing-to-unicode-need-string-or-buffer-bool-found-when-i-insall-financial-report-webkit-module-from-camp-to-camp-windows-90927




Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/29/15, 3:35 AM
Seen: 659 times
Last updated: 10/29/15, 3:46 AM