Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
10032 Lượt xem

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. 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

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


Hope this could helps ..

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 2 24
17235
5
thg 11 24
46890
3
thg 10 15
9362
0
thg 4 22
4039
8
thg 1 18
6931