配置不当导致无法加载odoo-10.0模块

启动odoo-bin时出错

2017-01-05 06:38:51,046 5480 INFO ? odoo: Odoo version 10.0
2017-01-05 06:38:51,046 5480 INFO ? odoo: Using configuration file at C:\odoo-10.0\debian\odoo.conf
2017-01-05 06:38:51,046 5480 INFO ? odoo: addons paths: [u'C:\\Users\\hello\\AppData\\Local\\OpenERP S.A.\\Odoo\\addons\\10.0', u'C:\\odoo\\addons', 'C:\\odoo-10.0\\odoo\\addons']
2017-01-05 06:38:51,046 5480 INFO ? odoo: database: odoo@localhost:5432
2017-01-05 06:38:51,049 5480 CRITICAL ? odoo.modules.module: Couldn't load module web
2017-01-05 06:38:51,049 5480 CRITICAL ? odoo.modules.module: No module named web
2017-01-05 06:38:51,049 5480 ERROR ? odoo.service.server: Failed to load server-wide module `web`.
The `web` module is provided by the addons found in the `openerp-web` project.
Maybe you forgot to add those addons in your addons_path configuration.

查看odoo.conf文件

修改成下面的样子,重新启动,OK

; addons_path = /usr/lib/python2.7/dist-packages/odoo/addons
addons_path = c:/odoo-10.0/addons

上一篇:Android动画学习(二)——Tween Animation


下一篇:AtomicLong