콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
10547 화면

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']

관련 게시물 답글 화면 활동
1
3월 15
4475
0
1월 18
2973
1
3월 15
8490
0
3월 15
3638
1
3월 15
5308