Odoo Help


How to edit CSS in Odoo 8 website ?

Davidts NV
on 4/3/15, 5:27 AM 2,077 views

I'm trying to edit CSS with the Odoo 8 HTML editor to add a new CSS entries but after saving the file nothing happens. How does it work?

Je serai absent ce  vendredi 03.04.2015  - Veuillez SVP transférer votre mail à l'adresse info@davidts.be - Ik zal afwezig zijn op vrijdag 03.04.2015 . Graag AUB U mail naar info@davidts.be te verzenden.


on 4/3/15, 5:52 AM

Atchuthan - Technical Consultant, Sodexis Inc

--Atchuthan - Technical Consultant, Sodexis Inc--
| 5 5 8
Puducherry, India
--Atchuthan - Technical Consultant, Sodexis Inc--
Passionate coder in Python/Odoo(formerly known as OpenERP).

Contact me via GMail: atchuthantu@gmail.com via Skype: atchuthan_skype
via Linkedin: http://in.linkedin.com/in/atchuthantu
Atchuthan - Technical Consultant, Sodexis Inc
On 4/3/15, 5:53 AM

To add your custom css file, you need to add the file in you custom view.

        <template id="assets_backend" name="mail_forward assets" inherit_id="web.assets_backend">
            <xpath expr="." position="inside">
                <link rel="stylesheet" href="/YOUR_MODULE/static/src/css/YOUR_CSS.css"/>
                <script type="text/javascript" src="/YOUR_MODULE/static/src/js/YOUR_JS.js"></script>

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/3/15, 5:27 AM
Seen: 2077 times
Last updated: 4/3/15, 5:53 AM