Community mailing list archives
Re: Are the qweb views associated to css filesby
Sorawel Technologies Corporation
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"?>
<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 <firstname.lastname@example.org> 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
-- 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