Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
10378 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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]

อวตาร
ละทิ้ง

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

คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง

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 ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 15
4380
0
ม.ค. 18
2892
1
มี.ค. 15
8301
0
มี.ค. 15
3545
1
มี.ค. 15
5186