Odoo Help


New odoo theme error.

Prince Caspion
on 9/22/15, 2:52 AM 1,514 views

Hi All,

I have developed new module for odoo theme for testing.

Having problem while applying .less style file.

I am following odoo technical tutorial for them development

I have noticed in v8 there is no module with name website_less. which is given as dependency in example.

May be because of that i am not able to add my custom .less file via xml file.

<template id="mystyle" name="My style" inherit_id="website.assets_frontend">
<xpath expr="link[last()]" position="after">
<link href="/testtheme_/static/less/style.less" rel="stylesheet" type="text/less"/>


Element '<xpath expr="link[last()]">' cannot be located in parent view


These is the code i am following to link my .less file

Anyone has idea how does .less file to link like css and jss in odoo v8.

I am following this link : https://www.odoo.com/documentation/8.0/howtos/themes.html

Need help on this.


Axel Mendoza
On 9/22/15, 3:03 AM

The module website_less is at Odoo apps:


Thanks a lot @Axel

Prince Caspion
on 9/22/15, 3:21 AM

Happy to help

Axel Mendoza
on 9/22/15, 3:22 AM

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

2 follower(s)


Asked: 9/22/15, 2:52 AM
Seen: 1514 times
Last updated: 7/14/16, 11:54 PM