-
External
-
-
Offline
-
Fresh Boarder
-
- Messaggi: 19
-
Karma: 0
-
|
OpenErp 7
In Magazzino -> Ordini di consegna
Seleziono un ordine di consegna
Clicco su Stampa -> DDT
Ricevo il seguente errore
2016-06-30 14:53:30,884 11268 ERROR vx-db2 openerp.service.web_services: Exception: (u'Webkit render!', u'\n\nTraceback (most recent call last):\n File "/home/odoo/lp/openerp/openerp/addons/report_webkit/webkit_report.py", line 278, in create_single_pdf\n **parser_instance.localcontext)\n File "/usr/lib/python2.7/dist-packages/mako/template.py", line 445, in render\n return runtime._render(self, self.callable_, args, data)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 829, in _render\n **_kwargs_for_callable(callable_, data))\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 864, in _render_context\n _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 890, in _exec_template\n callable_(context, *args, **kwargs)\n File "memory:0x7f81f1cc5050", line 24, in render_body\n <td>${helper.embed_company_logo()|safe}</td>\nAttributeError: \'WebKitHelper\' object has no attribute \'embed_company_logo\'\n')
Traceback (most recent call last):
File "/home/odoo/lp/openerp/openerp/service/web_services.py", line 712, in go
(result, format) = obj.create(cr, uid, ids, datas, context)
File "/home/odoo/lp/openerp/openerp/addons/report_webkit/webkit_report.py", line 332, in create
result = self.create_source_pdf(cursor, uid, ids, data, report_xml, context)
File "/home/odoo/lp/openerp/openerp/report/report_sxw.py", line 511, in create_source_pdf
return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
File "/home/odoo/lp/openerp/openerp/addons/report_webkit/webkit_report.py", line 281, in create_single_pdf
exceptions.text_error_template().render())
except_osv: (u'Webkit render!', u'\n\nTraceback (most recent call last):\n File "/home/odoo/lp/openerp/openerp/addons/report_webkit/webkit_report.py", line 278, in create_single_pdf\n **parser_instance.localcontext)\n File "/usr/lib/python2.7/dist-packages/mako/template.py", line 445, in render\n return runtime._render(self, self.callable_, args, data)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 829, in _render\n **_kwargs_for_callable(callable_, data))\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 864, in _render_context\n _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 890, in _exec_template\n callable_(context, *args, **kwargs)\n File "memory:0x7f81f1cc5050", line 24, in render_body\n <td>${helper.embed_company_logo()|safe}</td>\nAttributeError: \'WebKitHelper\' object has no attribute \'embed_company_logo\'\n')
2016-06-30 14:53:30,928 11268 ERROR vx-db2 openerp.netsvc: Webkit render! Traceback (most recent call last):
File "/home/odoo/lp/openerp/openerp/addons/report_webkit/webkit_report.py", line 278, in create_single_pdf
**parser_instance.localcontext)
File "/usr/lib/python2.7/dist-packages/mako/template.py", line 445, in render
return runtime._render(self, self.callable_, args, data)
File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 829, in _render
**_kwargs_for_callable(callable_, data))
File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 864, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 890, in _exec_template
callable_(context, *args, **kwargs)
File "memory:0x7f81f1cc5050", line 24, in render_body
<td>${helper.embed_company_logo()|safe}</td>
AttributeError: 'WebKitHelper' object has no attribute 'embed_company_logo'
Traceback (most recent call last):
File "/home/odoo/lp/openerp/openerp/netsvc.py", line 296, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/odoo/lp/openerp/openerp/service/web_services.py", line 654, in dispatch
res = fn(db, uid, *params)
File "/home/odoo/lp/openerp/openerp/service/web_services.py", line 760, in exp_report_get
return self._check_report(report_id)
File "/home/odoo/lp/openerp/openerp/service/web_services.py", line 738, in _check_report
netsvc.abort_response(exc, exc.message, 'warning', exc.traceback)
File "/home/odoo/lp/openerp/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 "/home/odoo/lp/openerp/openerp/addons/report_webkit/webkit_report.py", line 278, in create_single_pdf\n **parser_instance.localcontext)\n File "/usr/lib/python2.7/dist-packages/mako/template.py", line 445, in render\n return runtime._render(self, self.callable_, args, data)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 829, in _render\n **_kwargs_for_callable(callable_, data))\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 864, in _render_context\n _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 890, in _exec_template\n callable_(context, *args, **kwargs)\n File "memory:0x7f81f1cc5050", line 24, in render_body\n <td>${helper.embed_company_logo()|safe}</td>\nAttributeError: \'WebKitHelper\' object has no attribute \'embed_company_logo\'\n')
wkhtmltopdf ver. 0.12.1_linux-precise-amd64 in /usr/bin/
In Modifica dati aziendali -> Webkit
E' presente una sample Image (camtocamp_logo)
Ogni suggerimento è benvenuto,
grazie.
|