Odoo Help

Welcome!

This community 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.

1

Using CSS Styles in Qweb PDF report

By
Gonzalo Ruzafa
on 7/24/14, 3:46 PM 6,527 views

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

Have you found any info about this so far?

Skillteam, Houssine BAKKALI
on 9/3/14, 6:47 AM
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

gr
on 9/3/14, 8:26 AM

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

Skillteam, Houssine BAKKALI
on 9/3/14, 8:46 AM
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

gr
on 9/3/14, 9:47 AM

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

Skillteam, Houssine BAKKALI
on 9/3/14, 9:51 AM
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

gr
on 9/3/14, 10:41 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

4 follower(s)

Stats

Asked: 7/24/14, 3:46 PM
Seen: 6527 times
Last updated: 4/26/16, 4:16 AM