Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: how to ask a running odoo what its addons path is

by
antiflu
- 13/07/2018 12:30:21
Robert, can you share the use case? What do you want to do with this path? Maybe then we can help you think of a better solution that avoids exposing the path over odoorpc

Op vr 13 jul. 2018 18:02 schreef robert rottermann <robert@redcor.ch>:



On 13.07.2018 11:46, Achraf Mhadhbi wrote:
Hi,

Did you check OCA/odoorpc?
yes, this is the tool I am using
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()

robert

On Fri, Jul 13, 2018 at 11:31 AM robert@redo2oo.ch <robert@redo2oo.ch> wrote:

Hi there,


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?


thanks

robert

--
Robert Rottermann CEO

031 333 10 20
robert@redo2oo.ch
Sickingerstrasse 3, 3014 Bern

https://Redo2oo.ch
Ihr Partner wenn es um ERP Lösungen geht.

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe



--
Achref Mhadhbi | Sofware Engineer 

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference