- Odoo 11 Development Essentials(Third Edition)
- Daniel Reis
- 126字
- 2021-08-27 19:32:40
Configuring the addons path
The Odoo server has a configuration option called addons_path to set where the server should look for modules. By default, this points to the /addons directory, where the Odoo server is running. We can provide not only one, but a list of directories where modules can be found. This allows us to keep our custom modules in a different directory, without having them mixed with the official addons.
Let's start the server with an addons path that includes our new module directory:
$ cd ~/odoo-dev/odoo $ ./odoo-bin -d testdb --addons-path="../todo_app,./addons"
If you look closer at the server log, you will notice a line reporting the addons path in use: INFO ? odoo: addons paths: [...]. Confirm that it contains our todo_app directory.
推薦閱讀
- Excel 2019公式與函數(shù)應(yīng)用大全(視頻教學(xué)版)
- Excel 2010使用詳解
- 辦公軟件實(shí)訓(xùn)教程
- Office 365 管理實(shí)踐
- 非常Easy:Excel高效辦公
- Unity 2017虛擬現(xiàn)實(shí)開(kāi)發(fā)標(biāo)準(zhǔn)教程
- Excel高效辦公:市場(chǎng)與銷(xiāo)售管理(修訂版)
- Flash CS6核心應(yīng)用案例教程(全彩慕課版)
- 精通Excel數(shù)據(jù)統(tǒng)計(jì)與分析
- Excel公式與函數(shù)大辭典
- 金融精英Word實(shí)操手冊(cè):世界知名公司這樣制作研究報(bào)告
- Word/Excel/PowerPoint 2007三合一辦公應(yīng)用實(shí)戰(zhàn)從入門(mén)到精通
- Excel 2013從新手到高手
- 極簡(jiǎn)辦公:職場(chǎng)Word基礎(chǔ)課
- 電腦辦公實(shí)戰(zhàn)從入門(mén)到精通(超值版)