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

My settings:

- Odoo v.10

- Developing in debug mode (?debug at the end of the URL)

- Chrome cache disabled ("disable cache" checkbox on the Network tab)

The Problem:

I'm styling a theme for the Odoo ecommerce store. When I change something in the .less file of my theme, changes doesn't take effect even after the page refresh. 

Only after the theme module update and page refresh I can see my changes. 

However, I noticed that sometimes it does refresh the content without the module update.  I suppose this is some kind of Sass caching thing, but I've disabled cache in the browser.

I've seen in some Odoo YouTube video that you don't need to update module every time you change something in your .less files, right?

I couldn't find any info on this, maybe someone here can help me out.


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

--dev=all

use this option along with odoo start command and try

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 23
2454
0
thg 4 20
3314
7
thg 1 24
153262
0
thg 11 18
3817
2
thg 10 18
5036