Skip to Content
Menu
This question has been flagged
1 Reply
3980 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
Related Posts Replies Views Activity
1
Oct 19
4615
2
Feb 23
1879
3
Dec 22
2631
2
Mar 21
7560
2
Apr 20
3559