Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
studio Studio17 Studio customize fields
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
studio Studio17 Studio customize fields
About this forum
  1. Studio
  2. Fòrum

Edit generated report .pdf font size/styles.

Subscriure's

Get notified when there's activity on this post

This question has been flagged
studioreportreports
2 Respostes
5633 Vistes
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
Descartar
Avatar
Marc Bink
Best Answer

see below

0
Avatar
Descartar
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
Descartar
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!

Registrar-se
Related Posts Respostes Vistes Activitat
How to change the default invoice template in odoo16
studio invoice report
Avatar
0
de des. 23
3098
Odoo Studio not Show me all Option
studio
Avatar
Avatar
1
de set. 24
3550
Studio application failed to load
studio
Avatar
Avatar
2
de jul. 24
4142
Studio not available in Community edition
studio
Avatar
Avatar
1
d’abr. 24
7650
How to add an Activity summary in list view for a new app
studio
Avatar
0
de gen. 24
3037
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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