تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
2757 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أبريل 25
2402
0
يوليو 24
1690
1
أغسطس 23
2819
2
أبريل 25
24897
1
سبتمبر 22
3502