Reputation: 65
The custom module I'm Working on Requires to Write Some files to the odoo addons
path. Can anybody Tell me How to get the addons
path by code?
Upvotes: 1
Views: 526
Reputation: 833
You can get the addons path from the code like this,
import odoo.tools as tools
path = tools.config.get('addons_path')
Upvotes: 2