Odooers论坛

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

Odoo17 version after installation styling not loading

形象
odoo
1 备注
形象
丢弃
形象
odoo
-
11 答案
0
形象
odoo
最佳答案
insatll this required packges 
sudo apt-get install python-dev python3-dev libxml2-dev libxslt1-dev zlib1g-dev libsasl2-dev libldap2-dev build-essential libssl-dev libffi-dev libmysqlclient-dev libjpeg-dev libpq-dev libjpeg8-dev liblcms2-dev libblas-dev libatlas-base-dev
sudo apt-get install -y npm
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo npm install -g less less-plugin-clean-css
sudo apt-get install -y node-less

if still not then istall libass packge as well
pip3 install libsass==0.12.3


形象
丢弃
0
形象
odoo
最佳答案

I installed Odoo 18 with PyCharm the normal way I used to, then I got the error. I struggled for many days uninstalling and Installing different packages without any success. Then I deleted the databse through the odoo database manager and recreated it, and everything started working.

形象
丢弃
0
形象
odoo
最佳答案

So I know this doesn't seem right, but I ran into the same problem and tried to fix for hours. I ended up deleting my DB and started again. Loaded my first page and it STILL was throwing the style error. I literally did a hard refresh (Ctrl+F5) and it loaded. Not joking!

2 注释
形象
丢弃
形象
odoo
-

I can vouch that it worked for me. Man isn't joking!

形象
odoo
-

it works, ty)

0
形象
odoo
最佳答案

Hi,

Have you ensured that all your addon paths are correctly specified in the configuration file? The error suggests that Odoo might not be able to access the files in the specified addons directory. Could you please double-check the addon paths in the Odoo configuration file?

形象
丢弃
0
形象
odoo
最佳答案

I am having the same issue. here is a screenshot of my odoo window. There is no custom code in the repo yet. also my odoo log stays empty upon running.


Here is a screenshot of my ide log: (its empty) 


Any ideas on how to fix this?

形象
丢弃
0
形象
odoo
最佳答案

Hi, 

You can try reloading the asset bundles using the activate developer mode (with assets) option from settings.


if that doesn't work, try upgrading the base module.


Hope it helps

形象
丢弃
0
形象
odoo
最佳答案

I did not create any custom module in which I can share the code I have set up a fresh version of Odoo 17 and after successfully completing installation I am getting this error.

This is the error on the browser,

The style compilation failed, see the error below. This is an administrator or developer error that must be fixed for the entire database before continuing working.

形象
丢弃
0
形象
odoo
最佳答案

same error I have faced , resolved by if sass installed then pip uninstall sass , then pip install libsaas and change the db and run it  worked for me

形象
丢弃
0
形象
odoo
最佳答案

please provide your code and error log. 

形象
丢弃
0
形象
odoo
最佳答案

I am having the same problem

形象
丢弃
0
形象
odoo
最佳答案

Hello so I faced the same issue and it disturbed me for days, I solved it by updating the base module. i.e. on your command line run python odoo-bin -c path_to_conf_file -u base.

形象
丢弃