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"
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
A complete guide to create sub-reports in iReport [Jasper Reporting]: http://learnopenerp.blogspot.com/2017/11/how-to-add-subreport-in-jasper-report.html
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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
May 18
|
8136 | ||
|
2
Jun 16
|
5227 | ||
|
0
Mar 15
|
6327 | ||
|
3
Oct 23
|
5273 | ||
|
2
Jan 23
|
4623 |