Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
All my Q-Web reports (invoice, sale order, purchase, etc) are missing the css in pdf export and are all good in html export... Can anyone please help? I am running ubuntu 14.04 and wkhtmltopdf 12.01... Next is a preview of the problem on the left, and the html export with the css tables on the right...
The global parameter Theo describes can be found in
Settings > Technical > Parameters > System Parameters
This can only be accessed when in 'debug' mode, add url parameter ?debug after web in your browser address bar.
You have to create a new record with
Further discussion here.. https://github.com/odoo/odoo/issues/2934
I want to give my 2 cents on this!
If you are loading your instance in port 80, you should've probably added the iptable record in your system. Then you've tried to print an invoice and everything is screwed. Ok!
Because you've changed the URL we need to say Odoo where are the assets now and because the project doesn't know anything about the iptable record you need to specify where the assets (css) are, so adding the following record to your system global parameters will solve the issue.
Go to debug mode, either by adding the `?debug` parameter at the end of the URL or clicking in the profile at the top right and then on About. You'll see a popup with a button that says `Activate debug mode`. If you don't see it, you're not logged in as Administrator!
Go to Settings > Parameters > System Parameters
Add the following key/value:
Those exact values! localhost is not a placeholder, use that exact same URL!
Try to print an invoice ;)
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/1/14, 4:01 PM|
|Seen: 6610 times|
|Last updated: 4/10/18, 9:58 AM|