Contributors mailing list archives
Re: how to ask a running odoo what its addons path isby
redCOR AG, Robert Rottermann
On 13.07.2018 11:46, Achraf Mhadhbi wrote:
yes, this is the tool I am usingHi,Did you check OCA/odoorpc?
what I want to do is something like this:
from odoorpc import ODOO
odoo = ODOO()
odoo.login('somedb', someuser', 'somepassword')
# and how the part I do not know how to handle:
addons_path = odoo.get_addons_path()
I would like to contact a running odoo site using odoorpc and get the addons-path odoo is started with.
Can anybody share an idea how this could be done?
Robert Rottermann CEO
031 333 10 20
Sickingerstrasse 3, 3014 Bern
Ihr Partner wenn es um ERP Lösungen geht.--Achref Mhadhbi | Sofware Engineer