Odoo Help


Pentaho Reports - passing variable to the report

Marek Jan-Alexander
on 9/26/14, 10:14 AM 550 views


does anybody know an easy way how to pass a custom variable into a pentaho report?

Let´s say i have a variable defined as "test" and I would like to pass it to the report when calling it with following code:

return {
             'type': 'ir.actions.report.xml',
             'data': test,

How can I display "data" in the report?

Thanks for help!


Artur Bertram
On 2/19/15, 3:57 AM

Hi Marek,

I'm facing similar problem (but with standard report) as you but didn't find any solution yet.

Do you have some kind of solution or workaround for your problem or are you still on search for a solution ?

You can also contact me directly via email: m.sodomka@seznam.cz  or m.sodomka@equitania.com

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

1 follower(s)


Asked: 9/26/14, 10:14 AM
Seen: 550 times
Last updated: 3/16/15, 8:10 AM