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 the less file in odoo core modules is compile and how to override

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

Hi all, 

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

account_reconciliation.less.css

bootstrap.less.css

form.view.less.css

form_view_layout.less.css

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. 

Thanks. 

0

Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
2988
| 5 3 5
Sudan
--Ahmed M.Elmubarak--


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

Hi,

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/17/16, 5:27 AM
Seen: 166 times
Last updated: 10/17/16, 7:18 AM