Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
2480 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
dub 25
1781
0
čvc 24
1126
1
srp 23
2550
2
dub 25
23329
1
zář 22
3168