Odoo中文网|Odoo实施培训

标题: 在Windows下调试Odoo [打印本页]

作者: 九月九    时间: 2015-9-10 16:49
标题: 在Windows下调试Odoo
本帖最后由 九月九 于 2015-9-10 16:52 编辑

在Windows下调试Odoo        
                                                          依赖处理 Odoo配置 In Odoo project root, copy debian/openerp-server.conf to another folder. In my case, it is D:\Dev\odooTest\openerp-server.conf, edit the file to have the following configurations:
[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = localhost
db_port = 5432
db_user = odoo
db_password = odoo
addons_path = D:\Dev\PyCharmProjects\odoo\addons
IDEA运行配置 Run –> Edit Configurations, click “+” on the top left to create a new configuration with the following settings:
Name: Odoo8 Single instance checkbox: checked Script: <odoo源码目录>\odoo.py Script parameters: --config=D:\Dev\odooTest\openerp-server.conf
Enjoy!






欢迎光临 Odoo中文网|Odoo实施培训 (http://www.chinaodoo.net/) Powered by Discuz! X3.2