Odoo learning diary 1

1.Odoo automatic code completion PyCharm plug-
analysis:
[1] auto-complete plug-in support Odoo model [Model] automatically prompt the view [View] and automatically generate the template code. Links: HTTPS: //pan.baidu.com/s/1cHImAE
[2] plug-in installed: menu File -> Import Settings, loaded odoo_template.jar, PyCharm will automatically reboot and load into force.

2.Odoo13 error when Windows is running "ValueError: embedded null byte" solutions
Analysis: Modify D: \ Anaconda3 \ Lib_strptime.py file:

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. Run Odoo
resolved: 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]

Published 364 original articles · won praise 422 · views 360 000 +

Guess you like

Origin blog.csdn.net/shengshengwang/article/details/104351115