Created
October 3, 2019 04:49
-
-
Save sehrishnaz/ec8b55c1d8df6cbb1b2f9c11dc32217f to your computer and use it in GitHub Desktop.
How to get data directory 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['data_dir'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment