Skip to content

Instantly share code, notes, and snippets.

@sehrishnaz
Created October 3, 2019 05:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sehrishnaz/e276b930c135b65034ffad9e38b0049a to your computer and use it in GitHub Desktop.
Save sehrishnaz/e276b930c135b65034ffad9e38b0049a to your computer and use it in GitHub Desktop.
How to get addons path that saved in odoo configuration file
from openerp.tools import config
config = tools.config
dir = config['addons_path']
@sehrishnaz
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment