Date: Monday Sep 30 - Tuesday Oct 1
Time: 9 am - 5 pm
Location: Aula Magna • Belgium
Lunch and Drinks are included for each day of the training.
This is an initiation/starting level course. Basic Python knowledge is needed. https://learnxinyminutes.com/docs/python/
Why should you attend?
Get a better understanding of Odoo Framework, how it works and how the different pieces come together.
What will you learn?
Learn basic usage of Odoo Framework, and how to create a new module from scratch and deploy it within minutes in Odoo.sh. With the help of business cases, we'll analyze business needs, develop new models and new fields, and aim to understand the interaction between them.
Table of Contents
This training session will be divided into 5 modules and will be developed and deployed on Odoo.sh
1. Models, Fields and Relations
The goal of this module is to learn how the models/objects in Odoo are defined and how they interact with each other. Attendees will learn how to:
Translate a simple situation into models that will fit the Odoo Framework;
Define a simple model;
Define simple fields on a model;
Define relational fields between models.
2. Computed Fields, Onchange and Constraints
The goal of this module is to learn how to have fields interacting with others, and to automatically compute values based on other fields. This includes:
The depends decorator;
Storing computed fields in the database;
Onchange triggers, constraints.
3. Actions, Menus and Views
The goal of this module is to learn how to display information for the end users, to learn how to design basic views and how to alter field properties. Attendees will learn how to:
Activate and use the developer mode;
Create a menu item;
Link windows action to menu item;
Design list, form and search views from scratch;
Design embedded views for Many2many and One2many fields;
Define field properties, statically and dynamically.
4. Model Inheritance
Odoo provides two inheritance mechanisms to extend an existing model in a modular way. With the Odoo inheritance mechanisms, you can:
Add or override fields, methods, constraints on an existing model;
Factor out some generic code in model mixins;
Associate each record from a model with a parent record from another model;
The purpose of this module is to learn these inheritance mechanisms.
5. View Inheritance
Odoo provides an inheritance mechanism to extend a view in a modular way. The view extension describes modifications of the XML of the extended view. It can, for instance, add elements, modify elements or modify element attributes. It usually complements model extensions.
The purpose of this module is to learn this inheritance mechanism.
Stanislas Sobieski, Technical Consultant - Odoo
Stanislas is a client solution developer, and has been developing on Odoo for the last 4 years, specifically on customer projects. He has been the technical lead on Odoo's biggest customer project for the last 2 years with a team of 5 developers. Before working at Odoo, he taught for 7 years at the university level.