Odoo Help

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 566 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--
3168
| 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 ..

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.

Register

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)

Stats

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