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

Swiss BVR Error

By
Unity Web
on 2/3/15, 3:42 PM 512 views

Hello, 

On Odoo 7.0 when I try to print a BVR i get the following error : 

2015-02-03 20:39:24,926 8664 ERROR unitywebsarl openerp.netsvc: Rendu webkit !

 

 

Traceback (most recent call last):

  File "/opt/openerp/addons/report_webkit/webkit_report.py", line 263, in create_single_pdf

    **self.parser_instance.localcontext)

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

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

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

    **_kwargs_for_callable(callable_, data))

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

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

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

    callable_(context, *args, **kwargs)

  File "memory:0x7f4ee6af7950", line 180, in render_body

    <% inv = move.invoice %>

  File "/opt/openerp/server/openerp/osv/orm.py", line 504, in __getattr__

    raise AttributeError(e)

AttributeError: "Field 'invoice' does not exist in object 'browse_record(account.invoice, 1)'"

Traceback (most recent call last):

  File "/opt/openerp/server/openerp/netsvc.py", line 296, in dispatch_rpc

    result = ExportService.getService(service_name).dispatch(method, params)

  File "/opt/openerp/server/openerp/service/web_services.py", line 654, in dispatch

    res = fn(db, uid, *params)

  File "/opt/openerp/server/openerp/service/web_services.py", line 760, in exp_report_get

    return self._check_report(report_id)

  File "/opt/openerp/server/openerp/service/web_services.py", line 738, in _check_report

    netsvc.abort_response(exc, exc.message, 'warning', exc.traceback)

  File "/opt/openerp/server/openerp/netsvc.py", line 71, in abort_response

    raise openerp.osv.osv.except_osv(description, details)

except_osv: (u'Rendu webkit !', u'\n\nTraceback (most recent call last):\n  File "/opt/openerp/addons/report_webkit/webkit_report.py", line 263, in create_single_pdf\n    **self.parser_instance.localcontext)\n  File "/usr/lib/python2.7/dist-packages/mako/template.py", line 443, in render\n    return runtime._render(self, self.callable_, args, data)\n  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 807, in _render\n    **_kwargs_for_callable(callable_, data))\n  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 839, in _render_context\n    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\n  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 865, in _exec_template\n    callable_(context, *args, **kwargs)\n  File "memory:0x7f4ee6af7950", line 180, in render_body\n    <% inv = move.invoice %>\n  File "/opt/openerp/server/openerp/osv/orm.py", line 504, in __getattr__\n    raise AttributeError(e)\nAttributeError: "Field \'invoice\' does not exist in object \'browse_record(account.invoice, 1)\'"\n')

"Field \'invoice\' does not exist in object \'browse_record(account.invoice, 1)\'"\n')

 

Any idea ?

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: 2/3/15, 3:42 PM
Seen: 512 times
Last updated: 3/16/15, 8:10 AM