1.Odoo代码自动补全PyCharm插件
解析:
[1]自动补全插件支持Odoo模型[Model]与视图[View]的自动提示并自动生成模板代码。链接:https://pan.baidu.com/s/1cHImAE
[2]插件安装:菜单File -> Import Settings,加载odoo_template.jar,PyCharm会自动重启并生效加载。
2.Odoo13在Windows运行时报错“ValueError: embedded null byte”的解决方案
解析:修改D:\Anaconda3\Lib_strptime.py文件:
try:
from _thread import allocate_lock as _thread_allocate_lock
except ImportError:
from _dummy_thread import allocate_lock as _thread_allocate_lock #第26行
locale.setlocale(locale.LC_ALL, 'en') #增加该行
3.运行Odoo
解析:python odoo-bin -r root -w root --addons-path=addons -d mydb
参考文献:
[1]Windows Source Install:https://www.odoo.com/documentation/master/setup/install.html#id4
[2]