Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • theme folder in odoo-9

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 232
    Comment on it

    In odoo-9 first we have to install odoo theme module then after We just created a template specifying our less file. As in below code you can see that, the template has a special attribute named inherit_id. This attribute tells Odoo that our template is referring to another one in order to operate.
    For example you can see below code in your SRC file.

    <template id="Demo" name="Demo" inherit_id="website.assets_frontend">
        <xpath expr="link[last()]" position="before">
            <link href="/theme folder/static/less/style.less" rel="stylesheet" type="text/less">
        </xpath>
    </template>
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: