Reader small image

You're reading from  Odoo 15 Development Essentials - Fifth Edition

Product typeBook
Published inFeb 2022
Reading LevelBeginner
PublisherPackt
ISBN-139781800200067
Edition5th Edition
Languages
Tools
Right arrow
Author (1)
Daniel Reis
Daniel Reis
author image
Daniel Reis

Daniel Reis has a degree in applied mathematics and an MBA. He has had a long career in the IT industry, mostly as a consultant implementing business applications in a variety of sectors. He has been working with Odoo (OpenERP at the time) since 2010 and is an active contributor to the Odoo Community Association (OCA), where he also serves as a board member. He is the managing director of Open Source Integrators, a leading open source and Odoo consultancy firm.
Read more about Daniel Reis

Right arrow

What this book covers

Chapter 1, Quick Start Using the Developer Mode, visually introduces the Odoo development concepts, creating an Odoo application directly from the user interface – a simple to-do tracking application. Instructions are given to get Odoo working on the work machine, but an existing Odoo installation, or an Odoo.com instance, can be used, so no local setup is required.

Chapter 2, Preparing the Development Environment, explains how to install Odoo from source code, and how to set up the development environment to be used throughout the book. We choose to install Odoo in an Ubuntu environment, and under Windows 10 the Windows Subsystem for Linux (WSL) can be used to achieve this.

Chapter 3, Your First Odoo Application, provides a step-by-step guide through the creation of our first Odoo module, a book catalog for a library app. While the example is kept simple, it covers all the different layers and components that can be involved in an Odoo application: models, business logic, backend views, and web frontend views.

Chapter 4, Extending Modules, explains the available inheritance mechanisms and how to use them to create extension modules, adding or modifying features from other existing add-on modules.

Chapter 5, Importing, Exporting, and Module Data, addresses the usage of data files in Odoo, and their role in modules to load data and configurations to the database. It covers the XML and CSV data file formats, the external identifier concept, how to use data files in modules, and data import/export operations.

Chapter 6, Models – Structuring the Application Data, discusses the model layer in detail, introducing the framework's Object-Relational Mapping (ORM), the different types of models available, and the field types, including relational and computed fields.

Chapter 7, Recordsets – Working with Model Data, introduces ORM concepts and features, how to query and browse data from models, how to manipulate recordsets, and how to write changes to model data.

Chapter 8, Business Logic – Supporting Business Processes, explores programming business logic on the server side to manipulate data and implement specific business rules. It also explains how to use wizards for more sophisticated user interaction. The built-in social features – messages, chatter, followers, and channels – are addressed, as well as testing and debugging techniques.

Chapter 9, External API – Integrating with Other Systems, shows how to implement Odoo external applications by implementing a command-line client that interacts with our Odoo server. There are several alternative client programming libraries available, which are introduced and used to implement our showcase client utility.

Chapter 10, Backend Views – Designing the User Interface, covers the web client's View layer, explaining the several types of views in detail and all the elements that can be used to create dynamic and intuitive user interfaces.

Chapter 11, Kanban Views and Client-Side QWeb, continues working with the web client, but introduces Kanban views and explains the QWeb templates used to design the Kanban board elements.

Chapter 12, Creating Printable PDF Reports with Server-Side QWeb, discusses using the QWeb-based report engine and everything needed to generate printer-friendly PDF reports.

Chapter 13, Creating Web and Portal Frontend Features, introduces Odoo website development, including web controller implementations and using QWeb templates to build frontend web pages.

Chapter 14, Understanding Odoo Built-In Models, provides an overview of the models provided by the Odoo base module, such as Partners, Users, and the Models and Fields definitions.

Chapter 15, Deploying and Maintaining Production Instances, shows how to prepare a server for production prime time, explaining what configuration should be taken care of and how to configure an nginx reverse proxy for improved security and scalability.

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Odoo 15 Development Essentials - Fifth Edition
Published in: Feb 2022Publisher: PacktISBN-13: 9781800200067

Author (1)

author image
Daniel Reis

Daniel Reis has a degree in applied mathematics and an MBA. He has had a long career in the IT industry, mostly as a consultant implementing business applications in a variety of sectors. He has been working with Odoo (OpenERP at the time) since 2010 and is an active contributor to the Odoo Community Association (OCA), where he also serves as a board member. He is the managing director of Open Source Integrators, a leading open source and Odoo consultancy firm.
Read more about Daniel Reis