You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everybody, I´m a newbie at pentaho reports and actually I´m updating some existing reports for OpenERP/Odoo (v8), until now all the changes I have made, have been directly modifying the inside files of the .prpt package, like modifying the order of columns or adding some more, but now I am trying to pass a new variable from the python code that calls the pentaho report in order to condition the existing query of the report, but so far all my tryings end up with "The parameters provided for this report are not valid".
The new parameter that I´m sending from the python function is a variable that obtains its value from a computed field.
Exception:
openerp.service.report: Exception: <Fault 0: 'Failed to invoke method execute in class com.willowit.reporting.PentahoRenderer: The parameters provided for this report are not valid.'>
Traceback (most recent call last):
File "/opt/odoo/openerp/service/report.py", line 93, in go
result, format = openerp.report.render_report(cr, uid, ids, object, datas, context)
File "/opt/odoo/openerp/report/__init__.py", line 40, in render_report
return registry['ir.actions.report.xml'].render_report(cr, uid, ids, name, data, context)
File "/opt/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/openerp/addons/base/ir/ir_actions.py", line 155, in render_report
return new_report.create(cr, uid, res_ids, data, context)
File "/opt/odoo/addons/pentaho_reports/core.py", line 261, in create
rendered_report, output_type = report_instance.execute()
File "/opt/odoo/addons/pentaho_reports/core.py", line 201, in execute
return self.execute_report()
File "/opt/odoo/addons/pentaho_reports/core.py", line 239, in execute_report
rendered_report = proxy.report.execute(proxy_argument).data
File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1587, in __request
verbose=self.__verbose
File "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1306, in single_request
return self.parse_response(response)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1482, in parse_response
return u.close()
File "/usr/lib64/python2.7/xmlrpclib.py", line 794, in close
raise Fault(**self._stack[0])
Fault: <Fault 0: 'Failed to invoke method execute in class com.willowit.reporting.PentahoRenderer: The parameters provided for this report are not valid.'>
Hi everybody, I´m a newbie at pentaho reports and actually I´m updating some existing reports for OpenERP/Odoo (v8), until now all the changes I have made, have been directly modifying the inside files of the .prpt package, like modifying the order of columns or adding some more, but now I am trying to pass a new variable from the python code that calls the pentaho report in order to condition the existing query of the report, but so far all my tryings end up with "The parameters provided for this report are not valid".
The new parameter that I´m sending from the python function is a variable that obtains its value from a computed field.
Exception:
Python Code:
Python Function to call report:
The text was updated successfully, but these errors were encountered: