Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
2783 Lượt xem

Hi,

I would like to make some changes to default PDF view of Odoo 16. 

In default, there are several fields like this: 

Quotation Date: 

Expiration:

Salesperson:

Description Quantity Unit Price Taxes Total Price



So, how can I do these changes, with source code update? Do you know which model should I change? For instance lets remove default taxes field

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

If you know the external id, then you can use it to inherit and using xpath, make necessary modifications.
If we go to Settings -> Technical -> Reports, we can see all the reports. From there, select the report you want to customise and check the external id.
You can refer to this blog for more information. Even though it's in version 14, you can follow the same steps for 16.


https://www.cybrosys.com/blog/inheriting-existing-pdf-reports-in-odoo14


Hope it helps

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

In other words, how can we inherit and modify existing pdf reports

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 25
2437
0
thg 7 24
1716
1
thg 8 23
2849
2
thg 4 25
24986
1
thg 9 22
3541