Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
5731 Widoki

Hi, I wonder what does XML-RPC can be used with OpenERP. Is it use for a CRUD operation from a client computer ? Only ?

What else can XML-RPC be benefit to use with OpenERP ?

Thank you

UPDATE-QUESTIONS: If XML-RPC is used to do only operation, why we should use it ? Isn't it better to use PHP and do the CRUD operation directly ?

Awatar
Odrzuć
Najlepsza odpowiedź

If you want do it via web service then have look at the OpenERP XML-RPC Web services

XML-RPC service can call function(CRUD as well as ORM), its arguments, and the result of the call are transported using HTTP and encoded using XML. 

XML-RPC can be used with Python, Java, Perl, PHP, C, C++, Ruby, Microsoft’s .NET and many other programming languages. Implementations are widely available for platforms such as Unix, Linux, Windows and the Macintosh.

Awatar
Odrzuć
Autor

Thanks, I skimmed through the documentation. In the section PHP with login demo script, is this means that I can create a login form and login to OpenERP from my website instead of regular login page of OpenERP ?

Yes, you can create your own form in PHP to do log in to OpenERP.

Autor

Could you please suggest the way to redirect to OpenERP HomePage ? I followed from the document and others webpage from googling, it's only about connect, read, and write, but there is no example of how to redirect to OpenERP HomePage.

Autor Najlepsza odpowiedź

Additional Answer: XML-RPC will be useful when there are others program [ written in different language from OpenERP and perhaps different platforms ] wants to talk to OpenERP.

Thanks @Atul

Awatar
Odrzuć
Najlepsza odpowiedź

As of today it you want to plan to integrate odoo apps with other application JSON is the correct approach as odoo is also support JSON API too. it is faster then the XML and you can do all when you can do with xml.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
lip 25
2755
1
paź 24
1962
1
kwi 24
2010
0
wrz 23
1612
1
cze 23
2088