-
升级完后,不能升级安装Odoo,由于python-support的问题,
解决办法,在如下链接下载,python-support_1.0.15_all.deb
https://launchpad.net/ubuntu/xenial/amd64/python-support/1.0.15
然后用sudo dpkg -I python-support_1.0.15_all.deb即可
-
打开Odoo的页面,出现TypeError: CleanCSS is not a function
解决办法参考
https://github.com/odoo/odoo/issues/9113 中daniel-adb-fa的回答The following steps worked for deploying odoo on Ubuntu 16.04:
- Install odoo 9.0 from the nightly repo according to documentation.
-
Install the current versions of less and less-plugin-css via npm. This will install the versions to /usr/local/bin:
sudo npm install -g less less-plugin-clean-css
-
Install the symlink /usr/bin/node. This can be done manually, but you can also use an official apt-package for it:
sudo apt install nodejs-legacy
-
Now the link to lessc has to be patched to point to the version installed by npm instead of the (broken) distribution version:
sudo rm /usr/bin/lessc
sudo ln -s /usr/local/bin/lessc /usr/bin/lessc
-
This should work, but an update of the distribution package might still break the patched link later. To avoid this, I did
sudo apt-mark hold node-less.
Of course, restart the odoo service and don’t forget to clear your browser cache after that.
- Install odoo 9.0 from the nightly repo according to documentation.
发表回复