Contributors mailing list archives

contributors@odoo-community.org

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

by
Osiell, Sébastien Alix
- 13/07/2018 09:46:32
Hi,

Accessing Odoo configuration options from HTTP/RPC are impossible by 
default for security reasons.

Nevertheless, if you really want to do this, you have no other choice to 
code a custom method which will return the addons_path value, and call 
the method from OdooRPC. But I highly discourage you to do that :)

Regards,


Le 13/07/2018 à 11:31, robert@redo2oo.ch a écrit :

> 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 <mailto:robert@redo2oo.ch>

> Sickingerstrasse 3, 3014 Bern  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

> 


-- 
Sébastien ALIX
ABF Osiell