|
依赖处理修改requirements.txt: - psycopg2==2.5.3 >> psycopg2==2.6.0
- python-ldap==2.4.15 >> python-ldap==2.4.19
- Delete gevent==1.0.1
- reportlab==3.1.8 >> reportlab==3.1.4
复制代码
pip install -r requirements.txt pip uninstall gevent 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
|
|