Odoo Help

0

Jasper Odoo 8 xml datasource and list or table

By
Andrea Cometa
on 10/12/15, 5:50 AM 1,160 views

Hi,

i'm having problems with jasper_report v8 (https://github.com/JayVora-SerpentCS/Jasperv8)

xml datasource from account.invoice

master / detail is working fine, but i need to add tax_line on footer

i've tried subreport way with no effects (white subreport page)

now i'm trying with list  and dataset, list datasource is a dataset with xpath query and this expression

((net.sf.jasperreports.engine.data.JRXmlDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("/data/record/tax_line")

but I get this error: Error evaluating expression : \n\tSource text : ((net.sf.jasperreports.engine.data.JRXmlDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("/data/record/tax_line")

also tried with: $P{REPORT_DATA_SOURCE}.subDataSource("/data/record/tax_line") same kind of error


any tricks?

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 10/12/15, 5:50 AM
Seen: 1160 times
Last updated: 10/12/15, 5:50 AM