This question has been flagged
1 Reply
3832 Views

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 

Avatar
Discard
Best Answer

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

Avatar
Discard