I had recently developed a module having details of warranty with preventive maintenance list added in it.The screenshot of the view is attached.Screenshot-1.png.In the above form view,the form details like Customer Name,Contract,Warranty status,Details,Serial no,Batch No. etc are defined as base fields and the fields below these(Preventive Maintenance tab) is added as custom field.I want to take the printout of the whole form including the details under the Preventive Maintenance tab also.How to add a print button so that the complete form can be printed?What are the changes to be made in the code?Should I add any new file for this?
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ờ
1
Trả lời
7067
Lượt xem
create a new xml file and add something like this
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<report auto="False" id="report_id" model="model_name"
name="report_name" rml="path/to/reportfile"
string="My Report"/>
</data>
</openerp>
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 | |
---|---|---|---|---|
|
3
thg 7 22
|
11500 | ||
|
7
thg 3 22
|
41731 | ||
Created module , new moduel
Đã xử lý
|
|
5
thg 4 19
|
5718 | |
|
1
thg 4 16
|
3936 | ||
|
1
thg 11 15
|
10712 |