I have a view where i am displaying purchase.order.line in a tree view. These are lines of different rfqs of a same tender . I want a pdf report it. Kindly explain what attribute to use. Right now the report i have is giving me separate line but i want all the lines on one page. Please help
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ờ
2945
Lượt xem
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 4 20
|
8482 | ||
|
1
thg 8 22
|
6505 | ||
|
3
thg 7 25
|
1467 | ||
|
2
thg 7 18
|
10199 | ||
|
2
thg 7 25
|
1567 |
Please share your code you are working on so that we can guide you.
this is my simple template
<t t-call="web.external_layout">
<div class="page">
<div class="oe_structure"/>
<h2>Call for Tenders</h2>
<h3>Products</h3>
<table class="table table-condensed">
<thead>
<tr>
<th><strong>Order Reference</strong></th>
<th><strong>Description</strong></th>
<th><strong>Vendor</strong></th>
<th><strong>Product</strong></th>
</tr>
</thead>
<tbody>
<td>
<span t-field="o.order_id"/>
</td>
<td>
<span t-field="o.name"/>
</td>
<td>
<span t-field="o.partner_id"/>
</td>
<td>
<span t-field="o.product_id"/>
</td>
</tbody>
</table>
<div class="oe_structure"/>
</div>
</t>
</t>
Now action
<report
string="Purchase Comparison"
id="action_report_purchase_tender"
model="purchase.order.line"
report_type="qweb-pdf"
name="purchase_tender_app.report_tender"
file="purchase_tender_app.report.report_tender"
print_report_name="'Tender - %s' % (object.name)"
/>
But it gives report of only one line at a time but i want all my lines in one report.
Thanks for replying