Book Image

Working with Odoo 11 - Third Edition

By : Greg Moss
Book Image

Working with Odoo 11 - Third Edition

By: Greg Moss

Overview of this book

Odoo is an all-in-one management software that offers an array of business applications, forming a complete suite of enterprise management applications. Odoo 11 comes with advances on usability, speed, and design. Working with Odoo 11 starts with how to set up Odoo, both online and on your own server. You’ll then configure the basic company settings required to quickly get your first Odoo system up and running. Later, you’ll explore customer relationship management in Odoo and its importance in a modern business environment. You'll then dive into purchasing applications with Odoo, learn some of the primary functionalities of ERP systems for manufacturing operations, and use analytic accounting to provide better reporting. After that, you'll learn how to work with Odoo for mobile, and finally, you will walk through the recent Odoo 11 features with respect to the community and enterprise edition, giving you a complete understanding of what Odoo can do for your business.
Table of Contents (18 chapters)

Integrating with the Odoo API

Often, when developing custom applications, you are going to need to create solutions that involve interoperability with other systems and platforms. For example, perhaps you need to integrate with a third-party CRM application to create records inside of Odoo. The API is also quite useful for data migration.

Connecting to the API

Accessing the API is relatively easy. We begin with the code that imports the required libraries and creates a connection to the Odoo server:

import xmlrpclib 
url = http://localhost:8069 
db = SILK-DEV 
username = 'admin' 
password = 'admin' 
info = 
xmlrpclib.ServerProxy('https://localhost:8089/start').start() url, db, username, password...