- 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.
推薦閱讀
- Excel2019高級進階:SQL應用
- 五筆打字精品教程
- Word/Excel/PPT 2007入門與提高(超值版)
- Office 2016辦公應用從入門到精通
- 新編Excel 2010從入門到精通
- Office 2007辦公軟件應用立體化教程
- 隨身查:一小時搞定你想要的PPT
- Excel辦公高手應用技巧
- Minecraft創(chuàng)客制作:用樂高、3D打印、Arduino等創(chuàng)建Minecraft真實世界
- Office辦公應用技巧
- Office2010從入門到精通(視頻講解+圖解+技巧)
- 金融精英Word實操手冊:世界知名公司這樣制作研究報告
- Java語言程序設計教程
- 新編PowerPoint 2016從入門到精通
- 辦公軟件高級應用實驗指導