欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Odoo/developer
来自开放百科 - 灰狐
(版本间的差异)
小 (→Module) |
小 (→链接) |
||
第76行: | 第76行: | ||
*[http://cn.openerp.cn/odoo%e6%9e%84%e5%bb%ba%e5%ae%89%e5%85%a8%e4%bb%a3%e7%a0%81%e7%9a%84%e5%8d%81%e9%a1%b9%e8%a7%84%e5%88%99/ Odoo构建安全代码的十项规则] | *[http://cn.openerp.cn/odoo%e6%9e%84%e5%bb%ba%e5%ae%89%e5%85%a8%e4%bb%a3%e7%a0%81%e7%9a%84%e5%8d%81%e9%a1%b9%e8%a7%84%e5%88%99/ Odoo构建安全代码的十项规则] | ||
*[http://docs.huihoo.com/odoo/developer/10.0/reference/guidelines.html Odoo Guidelines] | *[http://docs.huihoo.com/odoo/developer/10.0/reference/guidelines.html Odoo Guidelines] | ||
+ | *[http://docs.huihoo.com/odoo/developer/10.0/reference/async.html Asynchronous Operations] | ||
[[category:developer]] | [[category:developer]] |
2017年8月24日 (四) 08:49的版本
odoo 开发者
目录 |
版本
- 使用odoo runbot比较odoo各个版本,包括企业版。
- Odoo Community Association runbot
安装
pip install -r requirements.txt pip install --upgrade setuptools python setup.py install python odoo-bin -w odoo -r odoo --db-filter=odoo // 安装设置好postgresql数据库,odoo为数据库名、用户名、密码 http://localhost:8069 // 初始化数据库并装入数据 admin/admin http://localhost:8069/web/database/manager // 数据库维护
Shell
使用IPython提供Shell交互环境:
$ ./odoo-bin shell -d odoo In [1]: self Out[1]: res.users(1,) In [2]: self.name Out[2]: u'Allen' In [3]: self._name Out[3]: 'res.users' In [4]: self.env Out[4]: <odoo.api.Environment at 0x109d7ae10>
PyCharm
Module
创建一个Module
odoo-bin scaffold openacademy addons
更多细节可参考:Odoo8.0模块开发全流程
Eclipse
Docker
docker pull odoo
项目
文档
激活
- Activating the Technical Features 激活技术功能
- Activating the Developer mode 激活开发者模式
图集
问题
出现类似问题 '/Users/huihoo/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled.
sudo pip install pyparsing==2.1.10 --upgrade --ignore-installed six // 用–ignoring-installed * 选项来屏蔽已经安装过的模块。
Incompatible library version: etree.so requires version 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0
pip install -U lxml
链接
分享您的观点