openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #00784
[Bug 887616] Re: report_webkit : New methods in WebKitHelper not found
Hello,
I have tries to reproduce the bug with your example. I had no trouble output of function appear in report.
Maybe you should try to remove the pyc and be sure that there is no zip version of the module.
I'm sorry not to be able to help you more.
Regards
Nicolas
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/887616
Title:
report_webkit : New methods in WebKitHelper not found
Status in OpenERP Addons (modules):
Invalid
Bug description:
System : Ubuntu 9.10
Server Version : 6.0.3
Web Version : 6.0.3
Affected Module : report_webkit in trunk version
Description :
When I add a new method to the WebkitHelper class and reload the server, This method is not accessible from the report
Error Raised :
Traceback (most recent call last): File "/home/quentin/workspace/openerp-server-REL-6.0.3/openerp-server-6.0.3/bin/addons/report_webkit.zip/report_webkit/webkit_report.py", line 303, in create_single_pdf **self.parser_instance.localcontext File "/usr/local/lib/python2.6/dist-packages/Mako-0.3.6-py2.6.egg/mako/template.py", line 283, in render return runtime._render(self, self.callable_, args, data) File "/usr/local/lib/python2.6/dist-packages/Mako-0.3.6-py2.6.egg/mako/runtime.py", line 575, in _render **_kwargs_for_callable(callable_, data)) File "/usr/local/lib/python2.6/dist-packages/Mako-0.3.6-py2.6.egg/mako/runtime.py", line 607, in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File "/usr/local/lib/python2.6/dist-packages/Mako-0.3.6-py2.6.egg/mako/runtime.py", line 633, in _exec_template callable_(context, *args, **kwargs) File "memory:0xa0f7a4c", line 85, in render_body ${helper.get_response("Problem ?")} AttributeError: 'WebKitHelper' object has no attribute 'get_response'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/887616/+subscriptions
References