Odoo Help

1

Error in Printing Jasper Report with Sub Reports in openerp

By
Pornima Mane
on 5/15/14, 8:50 AM 3,243 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

--Akhil P Sivan--
3990
| 5 3 7
Kochi, India
--Akhil P Sivan--

Interested in exploring Odoo both technically & functionality wise.

email-id : akhilpsivan01@gmail.com

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: 3243 times
Last updated: 11/25/15, 12:26 AM