Created
October 3, 2019 05:11
-
-
Save sehrishnaz/e276b930c135b65034ffad9e38b0049a to your computer and use it in GitHub Desktop.
How to get addons path that saved in odoo configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from openerp.tools import config | |
config = tools.config | |
dir = config['addons_path'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Read more in detail: http://learnopenerp.blogspot.com/2019/10/odoo-configuration-file.html