Hi Community,
Am using Odoo 12. Now am blocked with an issue of retrieving the addon paths of the odoo which am using.Is it possible to retrieve all addon path using a python code?
Thanks and Regards
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi Community,
Am using Odoo 12. Now am blocked with an issue of retrieving the addon paths of the odoo which am using.Is it possible to retrieve all addon path using a python code?
Thanks and Regards
Hi Stephan,
Try the code below for getting the addon path using the python code
addons_path = odoo.tools.config['addons_path'] #will get the addon paths as a string seperated by comma
Hope it Helps
Reference: http://learnopenerp.blogspot.com/2019/10/odoo-configuration-file.html