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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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']
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 3 15
|
4370 | ||
|
0
thg 1 18
|
2880 | ||
|
1
thg 3 15
|
8281 | ||
|
0
thg 3 15
|
3525 | ||
|
1
thg 3 15
|
5163 |