Odoo windows安装、运行、开发应用等过程中遇到的坑(不定期更新)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/lanix516/article/details/83269788

1.pip安装包时提示有些包需要visual  studio  C++ 编辑器,这个在网上解决办法很多,最简洁的办法是pip 直接使用二进制包安装。

https://mp.csdn.net/postedit/83268249

2.使用 python odoo-bin 运行项目时,仍旧提示有些包没有安装, 使用pip根据提示单独安装,有些包名字跟提示略有不同,例如:dateutil 安装  pip install python-dateutil, yaml 安装 pip install pyyaml

3.运行时提示缺少数据库密码,在linux种直接调用odoo-bin运行会自动读取指定位置的odoo.conf,但是在windows必须指定文件,使用   python odoo-bin -c conf_path, 并在conf文件中指定addons的目录

4. 页面样式如果出现问题,并提示缺少lessc, npm安装  less , less-plugin-clean-css

猜你喜欢

转载自blog.csdn.net/lanix516/article/details/83269788