Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
10364 Prikazi

i want to add line items to my detail band in ireport can u plz help me how to add line items in jasper report

Avatar
Opusti
Best Answer

Hi...

You need to set the Property for the Report as follows

Property Name: OPENERP_RELATIONS

Property Value: ['line_ids']

When you set this property then  your report will loop for the child records [o2m lines]

Avatar
Opusti

You can also acheive the same using OPENERP_PATH_PREFIX, if you have a Subreport designed for child lines

Best Answer

Hello,

I would like to do the same but the value to displays for me is 'bom_lines' not in the first node of the data record but in the next level under 'bom_ids'. How can format the property value?

Thanks 

Christophe

Avatar
Opusti

So, the solution is to use Property Value like ['node/node/node']. Exemple to display a report from the products who contains a bom lines: Go to properties of the report add a new one Property Name: OPENERP_RELATIONS Property Value: ['bom_ids/bom_lines/bom_lines']

Related Posts Odgovori Prikazi Aktivnost
1
mar. 15
4377
0
jan. 18
2886
1
mar. 15
8292
0
mar. 15
3537
1
mar. 15
5186