Jasper Reports
by NaN·tic http://www.nan-tic.com, http://www.serpentcs.com , Serpent Consulting Services Pvt. Ltd. http://www.nan-tic.com, http://www.serpentcs.com
Odoo
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
Community Apps Dependencies | Show |
Lines of code | 1774 |
Technical Name |
jasper_reports |
License | AGPL-3 |
Website | http://www.nan-tic.com, http://www.serpentcs.com |
Versions | 8.0 10.0 11.0 12.0 14.0 15.0 16.0 17.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
Community Apps Dependencies | Show |
Lines of code | 1774 |
Technical Name |
jasper_reports |
License | AGPL-3 |
Website | http://www.nan-tic.com, http://www.serpentcs.com |
Versions | 8.0 10.0 11.0 12.0 14.0 15.0 16.0 17.0 |
Jasper Report
This Module Gives The Features for creating Jasper Reports

Configure Java path
In your Odoo web interface, under the Company Data -> Jasper Configuration, add java path.

Jasper Report Menu
In your Odoo web interface, under the Technical section, jasper reports menu is there.

Jasper Data Template
From your Jasper Menu, Create a jasper reports data template file.

Design Jasper Report
In Jasper Studio, import the .xml file which was generated from Odoo and design your Jasper Report as .jrxml.

Create Jasper Report
Create a jasper reports for your module with your .jrxml file.

Demo reports can be founded in jasper_reports/demo folder.
Print Jasper Report

Example Of Jasper Report

Jasper Report 'uuid' error
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
Hi Jay and thank you for getting back to me. I am busy trying to downgrade it to v13 from v14. I got stuck on two things. Perhaps you could assist:
1. in the main.py controller the line 123 is complaining. Actually it complains about the "import time" portion. Is there a lib I am supposed to install for that?
2. After removing that, I got this error:
File "/home/erpsys/erp/system/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: can't adapt type 'dict'
So I am assuming I need to do something like this:
But I am unsure where that occurs. The normal Jasper Load extension loaded.
Would you be kind to guide where I could look into?
Thanks a mil...
Re:
Mihai,
1. The 'import time' is a standard one, it should work, its a usage in official odoo too :
https://github.com/odoo/odoo/blob/16.0/addons/web/controllers/report.py#L132
Please make sure you use latest code of v13.
But v13 would not work with safe_eval.time().. so follow https://github.com/JayVora-SerpentCS/Jasperreports_odoo/blob/12.0/jasper_reports/controllers/main.py#L67
2. You will not get the error if you fix 1.
Hello awesome people... I have a few questions about this module:
1. Does this need the whole Jasper Server stack (tomcat, etc?). Or can we use the JasperStarter Library from here: https://sourceforge.net/projects/jasperstarter/
2. Does this support sub-reports?
3. Does this plug into the Odoo Report module? What I mean by that: When I click "confirm" on a Sale Order, will it be possible that the email template uses Jasper Report instead of the normal QWeb ones?
4. When we run the report, can we add parameters which will pop-up like a form where they can choose options? Things like - choose start-date and end-date or a checkox or whatever? Which will then be passed to the report when running it?
5. Where is the version for Odoo13? I see you skipped this one! Could I use the v14 and work it backwards or do you happen to have it?
Thanks you guys! Have an awesome day!
Re:
Mihai,
Sorry for the late response.
1. It needs jasper server libs, not the whole stack. https://github.com/JayVora-SerpentCS/Jasperreports_odoo/wiki/Documentation
2. It does.
3. Yes it should be possible.
4. Yes you can add parameters.
5. You may make backward compatible.
Thanks,
Please help us resolve this error on Community V14:
com.nantic.jasperreports.JasperServer: Could not initialize class groovy.lang.GroovySystem'>
Can you upgrade it please to V15?
Re:
Hello!
Good Day,
What will it take to have a Jasper Report for v15?
Re:
Hello Agilis,
We started working and publish it soon.
Please email at contact@serpentcs.com will update you via mail also
Thanks.
Good morning, what can I do to solve this error?
Report Error <Fault 0: 'Failed to invoke method execute in class com.nantic.jasperreports.JasperServer: java.lang.ClassNotFoundException: '>
Re:
Hello Naun Flores,
Kindly mail us your in detail query at support@serpentcs.com so it will be easier for us to understand and help you out accordingly
Thanks.
hello please upgrade it to 15
thank you
please upgrade it to 15
Re: hello please upgrade it to 15
Sure!