Jump to content

Openerp generate a report using xml datasource


raul.mendez

Recommended Posts

Hi community!,

I'm working with jasperreport module for openerp, I generated some report using sql connection but now I want to use a xml datasource to generate a new report, I'm mean in a python file a new xml will be generated with all data needed for the report. I tried with the following but they don't work:

1. Create a property on report:

net.sf.jasperreports.engine.data.JRXmlDataSource = my_data_generated.xml

2. Try with another property:

net.sf.jasperreports.xml.source = my_data_generated.xml

Any of them properties don't work to generate the report, the xml file is located in the same path of the jasper and jrxml.

 

Thank you

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...