Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
studio Studio17 Studio customize fields
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
studio Studio17 Studio customize fields
Sul forum
  1. Studio
  2. Forum

Edit generated report .pdf font size/styles.

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
studioreportreports
2 Risposte
5616 Visualizzazioni
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
Abbandona
Avatar
Marc Bink
Risposta migliore

see below

0
Avatar
Abbandona
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Risposta migliore

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
Abbandona
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

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
How to change the default invoice template in odoo16
studio invoice report
Avatar
0
dic 23
3081
Odoo Studio not Show me all Option
studio
Avatar
Avatar
1
set 24
3546
Studio application failed to load
studio
Avatar
Avatar
2
lug 24
4140
Studio not available in Community edition
studio
Avatar
Avatar
1
apr 24
7644
How to add an Activity summary in list view for a new app
studio
Avatar
0
gen 24
3030
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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