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.

1

New odoo theme error.

By
Prince Caspion
on 9/22/15, 2:52 AM 957 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"/>
</xpath>
</template>


Error:

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.

Thanks



2

Axel Mendoza

--Axel Mendoza--
10238
| 7 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

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

The module website_less is at Odoo apps:

https://www.odoo.com/apps/8.0/website_less/

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

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

2 follower(s)

Stats

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