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

Hello community,

When creating a Quotation, you can add a Note. However, when printed, it is printed in italics. What ways can there be for it to end up being printed in non-italics?


Thanks.

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

Hi Nikita

You can change the Printed Note font as follows:

1. Go to Settings and Activate the developer mode

2. Go to Settings > Technical > Views and search for report_saleorder_document

3. Edit > at line 86 change 'font-italic o_line_note' to 'font-normal o_line_note', Save and reload your Browser.

BR

Ricardo

الصورة الرمزية
إهمال
الكاتب

Thank you!

I found many views containing "report_saleorder_document". As I understand it is different Reports. I can correct this line in all of them. Is it possible to make it so that when creating a new report, the setting with a normal font is immediately applied?

You need to Change only the "report_saleorder_document" as explained and it will work immediately!

أفضل إجابة

Hi,

You can inherit the corresponding report template and remove the applied style.

Just activate the developer mode and navigate to Settings -> Technical -> Reporting -> Reports, search for Quotation / Order , click and open it, click on Qweb Views at the top right and open the template named report_saleorder_document.




See the highlighted section of the template which is responsible for the italic style. Just Edit and remove it from UI(which is not recommended) or create a new module inheriting this template and apply the changes.


For Reference: How To Inherit And Modify Existing PDF Reports in Odoo


Thanks

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يوليو 23
4009
1
يونيو 24
16540
3
سبتمبر 25
2955
0
أغسطس 25
539
1
أغسطس 25
2667