The Odoo server provides an external API, which is used by its web client and is available for other client applications. In this chapter, we'll learn how to use the Odoo external API from our own client programs, using Odoo's external API.
To avoid introducing additional languages the reader might not be familiar with, here we will focus on Python-based clients, although the techniques to handle the RPC calls also applies to other programming languages.
We'll describe how to use the Odoo RPC calls, and then use that knowledge to build a simple Library command-line application using Python.
The following topics will be covered in this chapter:
- Setting up Python in the client machine
- Connecting to Odoo using XML-RPC
- Running server methods using XML-RPC
- The search and read API methods
- The Library client XML-RPC...