Odoo Help


How the less file in odoo core modules is compile and how to override

Hieu Lam
on 10/17/16, 5:27 AM 359 views

Hi all, 

When I enable the debug mode, I can see that the odoo system get the following css file for example 





I can see the less file in the folder but I cannot find the css file. I see that in the assets_backend template for each module, there's an include link 

<link rel="stylesheet" href="/account_asset/static/src/less/account_asset.less"/>

But the question is : 

1. When will the less file is compiled to css ? 

2. What should I do when I want to override the less file in lower module. 



Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
--Ahmed M.Elmubarak--

Ahmed M.Elmubarak
On 10/17/16, 7:18 AM


you can have a look at less odoo use some less library ...

Hope this could helps ..

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 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: 10/17/16, 5:27 AM
Seen: 359 times
Last updated: 10/17/16, 7:18 AM