跳至內容
選單
此問題已被標幟
1 回覆
2647 瀏覽次數

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!! 

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
3月 24
13711
0
2月 22
5496
0
5月 21
2153
1
6月 25
3128
0
12月 23
2398