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
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Oct 19
|
4615 | ||
|
2
Feb 23
|
1879 | ||
|
3
Dec 22
|
2631 | ||
Open Record in Edit mode
Solved
|
|
2
Mar 21
|
7560 | |
|
2
Apr 20
|
3559 |
Reference: http://learnopenerp.blogspot.com/2019/10/odoo-configuration-file.html