Odoo Help

2

0
2 Answers
5
Avatar

Manish Kumar Bohra India

--Manish Kumar Bohra--
11863
| 6 5 10
Bikaner, India
--Manish Kumar Bohra--


Manish Kumar Bohra India
7/5/18, 4:44 AM

Hello Recardo,

you can use style tag where you want and  change font size. for example

<t-field="doc.date_order" style="font-size:12px"/>

I hope it's help you.



0
Emily Phan United States
12/21/18, 6:11 PM

Say you are modifying the font size for a Purchase Order PDF.

  1. Open the Settings module and Activate the developer mode (bottom right)

  2. Open the module that the PDF is in. In this case, it is Purchase

  3. Activate Odoo Studio

  4. Open Reports tab (top right)

  5. Open the PDF you are trying to edit

  6. Click on Report on the sidebar on the left 

  7. Open XML and there is a page with code.

  8. There is a drop down menu where you can view multiple layers of the code

  9. Look for the report named report_purchaseorder_document

  10. Insert the code style="font-size:12px" within any of the <> sections
        <th ____________ /> 
        <span _____________/>


Bonus: 

color: red (changes color of font)

font-weight: bold (changes font to bold)

1 Comment
Ricardo Gross Switzerland
12/22/18, 4:09 PM

Good solution for those who have odoo studio!

Ask a Question
Writer
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now