Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Use XMLRPC webservice through cloud version of Odoo

By
Romain Gautier
on 6/25/14, 8:51 AM 1,817 views

Hello,

I am looking for a way to use XMLRPC api with a cloud version of Odoo.

The process depicted here (https://doc.openerp.com/v6.1/developer/12_api/) states example for on premise version but not cloud version. Is it possible to use webservices with cloud version of Odoo?

1

Ray Carnes

--Ray Carnes--
15677
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

Ray Carnes
On 6/25/14, 1:25 PM
0
Romain Gautier
On 6/25/14, 1:10 PM

Thanks for your answer, I didn't see https://openerp.my.openerp.com/forum/Help-1/question/Is-the-Xml-RPC-API-available-on-OpenERP-Online-915

I was able to state a poc with curl thanks to this post:

curl --data '<?xml version="1.0" encoding="UTF-8"?>
<methodCall xmlns:ex="http://ws.apache.org/xmlrpc/namespaces/extensions">
    <methodName>login</methodName>
    <params>
        <param>
            <value>podbox</value>
        </param>
        <param>
            <value>admin</value>
        </param>
        <param>
            <value>admin</value>
        </param>
    </params>
</methodCall>' https://podbox.odoo.com/xmlrpc/common

<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value><int>1</int></value>
</param>
</params>
</methodResponse>

 

0

Daniel Reis

--Daniel Reis--
3436
| 6 7 9
Lisbon, Portugal
--Daniel Reis--

Author of the "Odoo Development Essentials" book.

Applications Manager at Securitas Portugal

Github: https://github.com/dreispt

Twitter; @reis_pt


Daniel Reis
On 6/25/14, 9:09 AM

I believe it is, altough I haven't tried myself: about an year ago I was shown a Google Docs integration with OpenERp/Odoo, using web services.

The trick was to use the "admin" user.

You login with a cloud user and password, but behind the scenes, in your Odoo instance you are using "admin". You have to set a password for "admin"; this password will then be the one to use for the web services (and it's not the same as the password for your cloud login).

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/25/14, 8:51 AM
Seen: 1817 times
Last updated: 3/16/15, 8:10 AM