Community mailing list archives

community@mail.odoo.com

Re: Are the qweb views associated to css files

by
Sorawel Technologies Corporation
- 11/28/2014 05:50:49
Thank you my Dear Oscar
Le 27/11/2014 20:32, Oscar Alca a écrit :
<blockquote cite="mid:CAPUC0igjBMteHNJYOR5Z7mjXTb2PQ7Twjw-81zy0BNSmBKWbhw@mail.gmail.com" type="cite">
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"?>
<openerp>
<data>
  <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" />
   </xpath>
  </template>
</data>
</openerp>

it also applies for JS files, hope it helps.

On Thu, Nov 27, 2014 at 6:52 AM, Abdelaziz <abdelaziz@sorawel.com> 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


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--


   

Ing. Oscar Alcalá Rivera
312-107-1704 · oszckar@gmail.com

Vauxoo SA
Tlf: 3123111122

Open Source Enthusiast

LinuxCounter:566085

   twitter linkedIn   Google+  

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

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


-- 
Best regards

Abdelaziz Djidda
Information System Manager
CEO 
Sorawel Technologies Corporation
Rue Blv de la Liberté Akwa Immeuble Socar
BP 463 Douala - Cameroon
Office: 00237 94073777
Mobil:  00237 70828164