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

Pentaho Reports - passing variable to the report

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

Hi,

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',
             'report_name':'res_test',
             'data': test,
            }

How can I display "data" in the report?

Thanks for help!

 

0
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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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