I am working on some reports in a custom module while running an instance locally, and it looks great in the QWEB view. I have CSS styles applied through web.report_assets_common. However, when I generate the PDF version no styles are applied at all. I have done googling and searching to try and figure out what is going on, but nothing has worked. Here are the following steps I've tried
- Added the web.base.url, web.base.url.freeze, and report.url. I know that these are working as intended because I can see the requests for the web assets in the console
- I have tried both wkhtmltopdf version 0.12.5 and 0.12.6. They behave the same.
- I have reinstalled Odoo completely on my computer.
- Inline styles do work however I would really prefer not to have to use them because they make the styling quite a bit messier and I can't create general report styling files for all of the reports my company needs.
I'm a bit at a loss of why this isn't working and would really appreciate any insight. Thanks