python odoo-bin scaffold academy myaddons
academy:模块名称
myaddons:新建模块的路径
自动初始化所有的配置信息:
python odoo-bin --addons=addons,"/home/odoo-dev/odoo/local-addons/x" --save
try this:
python odoo-bin --addons=addons,"/home/odoo-dev/odoo/local-addons/x"
where x is the directory containing one module at least (by scaffold execution)
option --save for save changes on /debian/odoo.conf file
it's works for me on odoo 10
I hope helps you
懂得,原来世界如此简单!