Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2682 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
kwi 25
2352
0
lip 24
1643
1
sie 23
2753
2
kwi 25
24657
1
wrz 22
3438