Jasper Reports are mainly used for creating stylish reports other than black and white report. We can add tables, charts,crosstabs etc., in to the jasper report and also we can generate different forms of reports like pdf,xls,html etc. For creating Jasper Report, iReport plays an important role. Using ireport we can simply create Jasper Report. I’m using iReport 4.0.1.
Jasper report and openERP integration can be done by adding jasper_reports module to our openERP server. Now Open the opneERP client. In customization menu under the administration menu we can find the a menu for creating jasper report template.
Click on it, provide the information asked then an xml file wil be generated. This file is needed for the creating Jasper report. Save the file . For now our work in the openERP client is completed. Now go to iReport open a newblank report template. Change the datasource or create new datasource by clicking on in the ireport toolbar. Add a new xml datasource by providing the of the xml file generated from the openerp client.
After creating the xml datasource change the query language by clicking on in the iReport Designer bar. Then a window will open for changing the query language.Change the query language to xpath.
These are the basic things to be done for creating a jasper report. Now we can create a module in our openerp server and start creating jasper reports.
omalbastin: Hello John, I think you have the correct jasper report module, you can also download it from launchpad or use this jasper report that we have uploaded http://dl.dropbox.com/u/12447821/jasper_reports.zip . To install this module you have to unzip the jasper_reports.zip because of the size of the module( approx. 50Mb) it is difficult to import this zip file. So unzip the module to your openerp server's bin/addons folder, then restart the server and update the module list, install the jasper report module.Thats it!!".
Leave a Reply