Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
studio Studio17 Studio customize fields
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
studio Studio17 Studio customize fields
About this forum
  1. Studio
  2. Fórum

Edit generated report .pdf font size/styles.

Odoberať

Get notified when there's activity on this post

This question has been flagged
studioreportreports
2 Replies
5619 Zobrazenia
Avatar
Ryan DaSilva

Hello.

My coworkers are complaining that the font size on the .pdf reports for sales orders/invoices is too small, especially when there are many variants of a single product on the order.

The font size on the delivery/packing slip .pdfs are much easier read.

Is there a solution to changing field expression label font sizes? I tried using Studio by changing the font style of the label/table to heading 4/5, and while the report preview shows a bigger font size, the .pdf that is generated still uses the default font size. I even tried removing an unnecessary column from the invoice report and while the product variant name label did increase in size (1-2 pts), there is plenty of empty space for the font to be a bit bigger.

I see the "Text" Block has multiple font options while the Data Table text widget is lacking some important options (like font size).

If anyone has any suggestions on how I can adjust the line item font size on invoice/sales order reports on Odoo v15 Enterprise, I would very much appreciate it, thank you 🙏

0
Avatar
Zrušiť
Avatar
Marc Bink
Best Answer

see below

0
Avatar
Zrušiť
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,

You can do it in 2 ways using the studio

a) you can add a font size class to the element Table to apply font size to the entire table. Mainly there are 6 classes fs-1, fs-2, fs-3, fs-4, fs-5 and fs-6.

b) To do the second way follow the given steps.
1) Go to settings and turn on the developer mode by clicking the "Activate the developer mode" button under the Developer Tools
2) Now go to the sales module and switch to the studio.
3) Select the report you want to modify and open the XML editor.
4) Please refer to the link to open the XML editor, and open the XML code for the report https://www.cybrosys.com/odoo/odoo-books/odoo-15-studio/reports/xml-editor/).
PLEASE be careful while modifying the report's XML code.
5) Now search for the line "

<table class="table table-sm o_main_table mt-4">

"
6) Modify the above line of code to "

<table class="table table-sm o_main_table mt-4" style="font-size: 18px;">

", you can change the value of font size according to your need.
7) Once done you can save it, and you are good to go.

Regards

0
Avatar
Zrušiť
Marc Bink

02/02
Hi,
Thanks for your info but I also want to do the same in the SALES INVOICE report as this font is way too big.
Thanks for your reply

05/02 Hi meanwhile I found out (with trial and error) how to use your solution in different reports and it works fine
In the picking list the name of the client (on top left under the company name) is very small and I don't know how to make this bigger. Do you have a solution ?
Regards,
Marc

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Related Posts Replies Zobrazenia Aktivita
How to change the default invoice template in odoo16
studio invoice report
Avatar
0
dec 23
3087
Odoo Studio not Show me all Option
studio
Avatar
Avatar
1
sep 24
3547
Studio application failed to load
studio
Avatar
Avatar
2
júl 24
4140
Studio not available in Community edition
studio
Avatar
Avatar
1
apr 24
7645
How to add an Activity summary in list view for a new app
studio
Avatar
0
jan 24
3032
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now