Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Using CSS Styles in Qweb PDF report

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
qwebstylecsscss3cs
7 Răspunsuri
21944 Vizualizări
Imagine profil
Gonzalo Ruzafa

Hi, I am building a report on Qweb, using styles to get borders, colors, etc. The problem is that when the report is transformed from HTML to PDF, styles (colors, borders,...) are not displayed at the PDF document.

Any ideas?

Thanks!

Gonzalo

2
Imagine profil
Abandonează
Houssine BAKKALI

Have you found any info about this so far?

OdooBot
Not much, we been able to get a CSS stylesheet to work, buy some tags are still not working... Don't know why...


2014-09-03 7:47 GMT-03:00 Houssine BAKKALI <houssine-bakkali-gmail-com@mail.odoo.com>:

Have you found any info about this so far?

--
Houssine BAKKALI
Sent by OpenERP S.A. using Odoo about Forum Post Using CSS Styles in Qweb PDF report



--
Ing. Gonzalo Ruzafa
(+54 9 341)153 718905
skype: gonzaloruzafa
github: @gonzaloruzafa
gr@ingadhoc.com
www.ingadhoc.com

Houssine BAKKALI

the solution of jay vora from SerpentCS seems to be a solution to what appears to be a bug https://github.com/odoo/odoo/issues/1105

OdooBot
Thank you for the information! However, it modifies the Odoo code... there must be another way... don't you think?


2014-09-03 9:46 GMT-03:00 Houssine BAKKALI <houssine-bakkali-gmail-com@mail.odoo.com>:

the solution of jay vora from SerpentCS seems to be a solution to what appears to be a bug https://github.com/odoo/odoo/issues/1105

--
Houssine BAKKALI
Sent by OpenERP S.A. using Odoo , access directly to Forum Post Using CSS Styles in Qweb PDF report



--
Ing. Gonzalo Ruzafa
(+54 9 341)153 718905
skype: gonzaloruzafa
github: @gonzaloruzafa
gr@ingadhoc.com
www.ingadhoc.com

Houssine BAKKALI

the other way is to have this issue tackled by Odoo SA as it's clearly a bug.

OdooBot
Sure


2014-09-03 10:51 GMT-03:00 Houssine BAKKALI <houssine-bakkali-gmail-com@mail.odoo.com>:

the other way is to have this issue tackled by Odoo SA as it's clearly a bug.

--
Houssine BAKKALI
Sent by OpenERP S.A. using Odoo about Forum Post Using CSS Styles in Qweb PDF report



--
Ing. Gonzalo Ruzafa
(+54 9 341)153 718905
skype: gonzaloruzafa
github: @gonzaloruzafa
gr@ingadhoc.com
www.ingadhoc.com

Imagine profil
Hendra R. Apriliyanto
Cel mai bun răspuns

You can add style for each element that you want to styling.

the other option is -> there is 3 div class for report: header, page / article, then footer, you need to put style tag inside of them.

example:

<div class="header">

<style>

<!-- add your style here -->

</style>

<!-- your other elements -->

</div>



<div class="page">

<style>

<!-- add your style here -->

</style>

<!-- your other elements -->

</div>

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
How do dynamically set the value of a style attribute based on the value from the model? Rezolvat
style css
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
4
mar. 24
15179
How to add custome css class directly in QWEB report? Rezolvat
qweb css odoo9
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
5
nov. 24
48677
CSS not being applied custom report
pdf qweb css
Imagine profil
Imagine profil
2
feb. 24
3644
Odoo 12, Css not applied to qweb reports Rezolvat
qweb report css
Imagine profil
Imagine profil
3
ian. 20
7777
Report css positioning not exact for PDF output
qweb reports css
Imagine profil
0
ian. 17
6349
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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