Odoo Help

1

Error in Printing Jasper Report with Sub Reports in openerp

By
Pornima Mane
on 5/15/14, 8:50 AM 3,586 views

I want to print a jasper report which is having a subreport in it. but when i am printing it in openerp with the help of jasper reports module it is showing the error. as "Report Error Failed to invoke method execute in class com.nantic.jasperreports.JasperServer: null"

0
Akhil P Sivan
On 11/25/15, 12:26 AM

Hi,

Hope you are using an XML data source method.

While adding subreport to main report, you need to ensure two steps done:

1. Add a new parameter to the main report with parameter class under properties, set to Object

2. While adding the subreport to main report, in the wizard select Use a JRDatasource Expression and select the parameter defined above.

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.

Register

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)

Stats

Asked: 5/15/14, 8:50 AM
Seen: 3586 times
Last updated: 11/25/15, 12:26 AM