I am an intern at a company and we are using modules from other companies, such as OCA in our system. However, we would like to have a separate folder that works like the addons folder but with the name of the company from which we are using the modules so that it is more organized and facilitates the management of imports. However, for this to work, we need to put the full path to the folder module inside the addons_path in odoo.conf, for example: /home/user/odoo/oca/web. However, this way the file needs to have the path to each module, which makes the file very large and we need to edit it every time we add a new module. Does anyone have a way to just put the path to the oca folder, for example: /home/user/odoo/oca in the addons_path, and it already leaves all the modules cloned inside it to be installed in odoo?
Welcome!
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.
This question has been flagged
Hello Sonia,
I hope you're doing well.
I have shared 3 steps you can use.
Step : 1 Using a simple path.
odoo@odoo ~/workspace/16comminity (16.0) $ ./odoo-bin --addons-path=addons -p 1704 -d test_16
Step : 2 Using a simple path + Add another module path.
odoo@odoo ~/workspace/16comminity (16.0) $ ./odoo-bin --addons-path=addons,/home/odoo/Downloads/report_qweb_element_page_visibility-16.0.1.0.0/ -p 1601 -d db_test_16
Step : 3 Using config file.
odoo@odoo ~/workspace/16comminity (16.0) $ ./odoo-bin -c /home/odoo/workspace/16/Conf/odoo_16.cfg -p 1601 -d test_16
Inside the config :
addons_path = /home/odoo/workspace/16comminity/addons,/home/odoo/workspace/16enteprice,/home/odoo/Downloads/report_qweb_element_page_visibility-16.0.1.0.0/
Hope this helps!
Thanks & Regards,
Your Answer
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up