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

We are working on Odoo v14, and we have two websites.
I have changed something in the view configuration, which has caused one of the websites to not load the CSS styles correctly, resulting in this error: 
Style error

×

The style compilation failed, see the error below. Your recent actions may be the cause, please try reverting the changes you made.


Could not get content for /website/static/src/scss/options/colors/user_color_palette.custom.web.assets_common.scss defined in bundle 'web.assets_common'.

Any idea how to resolve it??

Thanks!! 

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

You need to check the modified code. I believe the code formatting was incorrect.

Alternatively, you can install the following library: 

sudo apt-get install npm 

sudo npm install -g less

After installing the library, restart the Odoo service.

Then, update all Odoo modules.


Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 3 24
13524
0
thg 2 22
5408
0
thg 5 21
2040
1
thg 6 25
2966
0
thg 12 23
2262