我試圖下載用於OpenERP 7.0的帳戶財務報告webkit模塊。帳戶財務報告Webkit模塊不適用於Odoo應用程序商店
帳戶財務報告Webkit模塊下載併成功安裝在我的本地系統中,用於OpenERP 7.0的全新插件。
我已經下載該模塊在以下網址
Click to download Account Financial Report Module from Odoo Apps Store
我被卡住了,而我打印總帳報告PDF格式
我得到了下面的回溯,而我打印報表。
Traceback (most recent call last):
File "/home/best/workspace/dynaweld/custom_addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 252, in create_single_pdf
**parser_instance.localcontext)
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
任何人都可以幫助我如何解決我的問題以上追溯。
您是否對此報告進行過任何定製?如果是的話向我們展示。從哪裏調用translate_call()方法。 –
還沒有,但我已經修復它從我身邊,但我沒有時間發佈我的答案,但最後感謝 –