Odoo Help

Welcome!

This community 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.

0

How to edit CSS in Odoo 8 website ?

By
Massinissa Belkassam
on 4/3/15, 5:27 AM 1,106 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
0

Atchuthan - Technical Consultant, Sodexis Inc

--Atchuthan - Technical Consultant, Sodexis Inc--
3883
| 5 3 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>
            </xpath>
        </template>

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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