İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
2789 Görünümler

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

Avatar
Vazgeç
En İyi Yanı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

Avatar
Vazgeç
Üretici En İyi Yanıt

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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Nis 25
2442
0
Tem 24
1724
1
Ağu 23
2856
2
Nis 25
25004
1
Eyl 22
3556