Odoo Help


field context_lang not found webkit report module

on 4/14/14, 5:48 AM 1,265 views

Hi Buddies.

I am working with webkit report module it is throwing the below error:

Traceback (most recent call last): File "/home/excedo/Desktop/GameFarm/addons/report_webkit/webkit_report.py", line 273, in create_single_pdf *self.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:0xb20aa6ecL", line 48, in render_body <%setLang(user.context_lang)%> File "/home/excedo/Desktop/GameFarm/server/openerp/osv/orm.py", line 499, in __getattr__ raise AttributeError(e) AttributeError: "Field 'context_lang' does not exist in object 'browse_record(res.users, 1)'" Traceback (most recent call last): File "/home/excedo/Desktop/GameFarm/server/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/home/excedo/Desktop/GameFarm/server/openerp/service/web_services.py", line 654, in dispatch res = fn(db, uid, params) File "/home/excedo/Desktop/GameFarm/server/openerp/service/web_services.py", line 760, in exp_report_get return self._check_report(report_id) File "/home/excedo/Desktop/GameFarm/server/openerp/service/web_services.py", line 738, in _check_report netsvc.abort_response(exc, exc.message, 'warning', exc.traceback) File "/home/excedo/Desktop/GameFarm/server/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/excedo/Desktop/GameFarm/addons/report_webkit/webkit_report.py", line 273, in create_single_pdf\n *self.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:0xb20aa6ecL", line 48, in render_body\n <%setLang(user.context_lang)%>\n File "/home/excedo/Desktop/GameFarm/server/openerp/osv/orm.py", line 499, in __getattr__\n raise AttributeError(e)\nAttributeError: "Field \'context_lang\' does not exist in object \'browse_record(res.users, 1)\'"\n')

Can you helpme on this...

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 platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 4/14/14, 5:48 AM
Seen: 1265 times
Last updated: 3/16/15, 8:10 AM