Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

XMLRPC - Where is the documentation?

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
documentationxmlrpcrpcjsonrpc
3 Risposte
11958 Visualizzazioni
Avatar
Mark McCarron

I found this page which provides some basic examples of communication over XMLRPC:

https://www.odoo.com/documentation/8.0/api_integration.html#connection

This page also points to additional information on the Model Reference, Domains, etc.

The problem is that none of this makes any sense to new users.  New users to odoo are introduced to the platform as it is presented in the GUI.  New users want to perform high-level functions such as Create Quote, Email Quote, Create Sales Order, Confirm a Purchase, Add Customer information, Update customer information, etc.

Where are the worked examples that demonstrate these basic high-level functions over XMLRPC?

Further, why are worked examples provided in various languages using XMLRPC libraries?  XMLRPC is meant to be language agnostic, it would be much better to show the command(s) to be called, the parameters to be sent and a listing of the raw XML.  Otherwise, everyone is forced to muddle through the syntax of various libraries trying to extract the required syntax for a call.

If this type of documentation does not exist, then I am more than willing to help write it if other posters clarify how we perform the various high-level functions.  Reply below if you have further information, links or are willing to help.

Additional Note:  Any proposed solutions must support the default online version as well as local installs.

1
Avatar
Abbandona
Stephen Mack

I should mention that if we need to mix XMLRPC and JSON-RPC that fine too.

Avatar
Mark McCarron
Autore Risposta migliore

Thanks for the link, I actually came across this a few hours ago myself.  I've resorted to capturing traffic between the browser and a local installation of odoo in Fiddler to watch the communication.  Then it becomes a question of stripping the exchanges required for the GUI to get at the bare minimum to complete a high-level task.

I've noticed that the GUI in the browser makes use of JSON-RPC, rather than XML-RPC.  At least that is the case for creating a quote.  I captured the entire process and there was about 70 posts to the server to generate a single quote.  Now it is a matter of understanding what is GUI specific, such as generating quick lists, and what is really required.

So far, I haven't seen XML-RPC being used at all, so it may be better to focus on JSON-RPC.  At least there will be example working code.

I feel that the best way forward is to step through the process of creating a quote and note the corresponding JSON exchanges.  So, that will be any initialisation calls, setting the customer, adding the product, etc.  I also want to understand if we need to go through the entire sequence (similar to the GUI), or is there some final submission stage we can add data we've queried to and save it. 

I also noticed that the notification of a quote being created is not when the quote is saved, but when 'update' is clicked to generated the totals and sub-totals.  So, there may be a short-cut here.  As I explore or solve each high-level function I will update this thread.  Hopefully by the end we will finally have some proper documentation.

1
Avatar
Abbandona
Yenthe Van Ginneken (Mainframe Monkey)

@Mark, what exactly do you want to accomplish actually? Judging by your comment I believe you want to make it on your computer with JSON-RPC? Its good to hear that you want to keep track of things here and update us with the details. There is to little documentation on this. Sadly I can't help you further unless it is for Android, as thats the only thing that I've worked with for XML-RPC.. By the way if my comment helped you please upvote it, as that tells others its a good comment and gives me some karma.

Mark McCarron
Autore

I'm working on a E-commerce solution that may use odoo as its backend. Thus, I need to use RPC to perform specific high-level tasks such as obtain product information, generate sales orders, add customer information, add leads, etc. Activity on the website would be reflected in odoo. What I will be doing can be used on any platofrm, or language. I will just describe the RPC sequence and leave everyone else to decide on how to implement those calls in their language of choice. I've just noticed that this forum only allows for a single answer to a question, rather than an ongoing discussion. So, that will make capturing this information here difficult if not impossible. I will see if I can add it as comments to my original question and if there are any limits to that.

Yenthe Van Ginneken (Mainframe Monkey)

Hmm, that sounds very interesting and promising! As for the forums.. there aren't a lot of options to format text/code here etc. Your best best is probably editing your question and place a link in it to another location where you write out your documentation/tutorial.

Avatar
Yenthe Van Ginneken (Mainframe Monkey)
Risposta migliore

Hi Mark

Sadly there is VERY little information and details about this.
You can find examples of the Odoo apps here though: https://github.com/Odoo-mobile/

Sadly this code is so big and uses a lot of their own classes that its nearly impossible to understand.
For now there is no other documentation and neither are there any tutorials. I've been fighting with XML-RPC in Android for two days myself now, I haven't gotten further then connecting and getting a list of data. 
Do you want to do this on Android, Python, PHP, ??
There is one awesome guide about XML-RPC through PHP here: http://thierry-godin.developpez.com/openerp/openerp-xmlrpc-php-en/

Hope this helps you!

1
Avatar
Abbandona
Avatar
John
Risposta migliore

Mark,

From your comments about your use case, you may want to take a look at: http://odoo-connector.com/

0
Avatar
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Search with aggregate functions in JSON-RPC?
rpc jsonrpc
Avatar
0
giu 22
2616
Difference between Odoo API endpoints (RPC vs web/dataset) Risolto
api xmlrpc jsonrpc
Avatar
Avatar
2
gen 23
16322
JSON-RPC - define request parameters like limit or fields Risolto
json rpc jsonrpc
Avatar
Avatar
Avatar
6
lug 20
13339
External API documentation (JSON-RPC)
documentation api jsonrpc ExternalAPI
Avatar
Avatar
Avatar
Avatar
Avatar
7
ott 25
35994
Error while trying to connect to XML RPC [SOLVED] Risolto
xml xmlrpc rpc odooV8
Avatar
Avatar
Avatar
3
ago 22
42349
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now