Community mailing list archives

Re: Are the qweb views associated to css files

oscar alca
- 11/27/2014 14:30:08
Hello Aziz, as far I know you have now two places where you can store your CSS, backend_assets and frontend_assets, you can access to all your CSS definitions by using them straight in your template code as they where HTML with the condition of being xml-valid HTMLs.

you can achieve this by adding a xml pointing to your new CSS files:

<?xml version="1.0" encoding="utf-8"?>
  <template id="assets_backend" inherit_id="web.assets_backend" name="Backend Assets">
   <xpath expr="." position="inside">
       <link rel="stylesheet" type="text/css" href="/module_name/static/css/style.css" />

it also applies for JS files, hope it helps.

On Thu, Nov 27, 2014 at 6:52 AM, Abdelaziz <> wrote:
Hello dear partners
I'm working on changing the shape of the bill in Odoo 8. How to change
the appearance of reports with QWEB. Are they related to a css file to
facilitate Modification form? If so where to locate?

Best regards

Post to:



Ing. Oscar Alcalá Rivera
312-107-1704 ·

Vauxoo SA
Tlf: 3123111122

Open Source Enthusiast


   twitter linkedIn   Google+  

eco No me imprimas si no es necesario. Protejamos el medio ambiente