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.

1

Error in Printing Jasper Report with Sub Reports in openerp

By
Pornima Mane
on 5/15/14, 8:50 AM 2,907 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--
3423
| 5 3 6
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.

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: 5/15/14, 8:50 AM
Seen: 2907 times
Last updated: 11/25/15, 12:26 AM