Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Working with Odoo 11

You're reading from   Working with Odoo 11 Configure, manage, and customize your Odoo system

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher
ISBN-13 9781788476959
Length 474 pages
Edition 3rd Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Greg Moss Greg Moss
Author Profile Icon Greg Moss
Greg Moss
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Setting Up Odoo 11 FREE CHAPTER 2. Installing Your First Application 3. Exploring CRM in Odoo 11 4. Purchasing with Odoo 5. Making Goods with Manufacturing Resource Planning 6. Configuring Accounting and Finance Options 7. Administering an Odoo Installation 8. Implementing the Human Resources Application 9. Understanding Project Management 10. Creating Advanced Searches and Dashboards 11. Building a Website with Odoo 12. Implementing E-Commerce with Odoo 13. Customizing Odoo for Your Business 14. Modifying Documents and Reports 15. Discovering Custom Odoo Modules 16. Comparing Community and Enterprise Edition 17. Another Book You May Enjoy

Getting to know the Odoo architecture

Setting up and managing an Odoo installation will require a basic understanding of the components that make up Odoo. Every business system has a set of technologies and underlying software platforms that are required for the system to function. Fortunately, unless you plan to customize Odoo, you only need to understand the very basics of the Odoo architecture to complete a successful installation.

In this book, we provide a basic overview of the Odoo architecture. If you wish to get more detailed documentation on the Odoo architecture, and technical documentation, visit https://www.odoo.com/documentation/11.0/.

Introducing the PostgreSQL database

Like most ERP systems, Odoo has specific database requirements: in this case, PostgreSQL. PostgreSQL is an open source, cross-platform Object Relational Database Management System (ORDMS). While not popular on the scale of Microsoft SQL Server or MySQL, PostgreSQL is an enterprise-class database server with many advanced features. In fact, PostgreSQL stacks up very well against far more expensive databases such as Microsoft SQL Server and Oracle Database.

PostgreSQL runs on every major operating system. For most Odoo installations, Ubuntu is the operating system of choice. However, PostgreSQL will also run quite well under other versions of Linux, Microsoft Windows, and even Mac OS X.

You can learn more about PostgreSQL at http://www.postgresql.org/.

Writing code with Python

The primary programming language of Odoo is Python. Like the other technologies underlying Odoo, the Python language is open source and runs on all the major contemporary operating systems. It is an extremely popular programming language, which makes it very easy to find resources to help you get started.

You can learn more about the Python programming language at http://python.org/.

Following the Model-View-Controller design

Odoo is built upon a Model-View-Controller (MVC) architecture. One of the primary goals of this architecture is to separate the visual display of the information from the business rules and management of the underlying data. For example, if you need to change the way data is organized in the model, it is desirable not to have to make dramatic changes to how you view data. This is true for maintaining flexibility in viewing data. Today, it is common to have many different client applications sharing the same underlying data.

Designing models

The model is essentially the data that makes up your Odoo installation, which is stored in the PostgreSQL database. Odoo is unique in that database structures are typically defined by the Odoo modules at the time they are installed. The Odoo framework takes the model definitions and automatically creates the necessary table structures inside of the PostgreSQL database. Furthermore, a web interface in Odoo allows administrators to easily extend the Odoo data model in a variety of ways without having to modify the Odoo source code.

Rendering views

Each view in Odoo is defined in XML documents. The Odoo framework is responsible for rendering these view files in a web browser. Alternative views can be built to render Odoo functionality upon other platforms such as mobile devices.

Authoring controllers

The controller component of the architecture is where the business logic and workflow rules of the Odoo application are applied. The controller components in Odoo are written in Python code and stored as objects in Odoo modules.

You have been reading a chapter from
Working with Odoo 11 - Third Edition
Published in: Mar 2018
Publisher:
ISBN-13: 9781788476959
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime