Hi, regarding the API:
a) Is it definitely the case that in "OpenERP online" SAAS there is no Xml-rpc?
b) Is there anything I need to do to enable it in v7? My sample code is failing to connect, wondering if there is a toggle somewhere...
Thanks.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi, regarding the API:
a) Is it definitely the case that in "OpenERP online" SAAS there is no Xml-rpc?
b) Is there anything I need to do to enable it in v7? My sample code is failing to connect, wondering if there is a toggle somewhere...
Thanks.
You can use the XML-RPC API in OpenERP Online by setting manually a password on your user (i.e. an API password) , using the menu top "More..." and the option "Change Password". This allows the selected user to connect with the 'traditional' OpenERP web-service and skip the OAuth authentication mechanism. See also this question for more details.
The parameters to use are then:
https://yourcompany.my.openerp.com
(watch out, this must be HTTPS)yourcompany
See also:
This is all well and good, but what database are you supposed to specify for the Online version? Is there any restriction when the account is in trial?
"Database: same as the name of your instance, e.g. yourcompany" - a trial is 100% identical to a subscription, but without the services (additional users, support, apps store, bug fixing, migration, etc).
I am trying as explained with xml-rpc, openerplib, and oerplib libraries. All of them produce errno -2 (Name or service not known), and the last call said (.../socket.py, line 553, in create_connection). Any suggestions around url:port or elsewhere?
Hi,
There is an example in the FAQ of OERPLib. A complete example:
>>> import oerplib
>>> oerp = oerplib.OERP('yourcompany.my.openerp.com', protocol='xmlrpc+ssl', port=443)
>>> oerp.login('user', 'password', 'yourcompany')
Regards,