
Odoo 14 Development Cookbook
By :

Odoo v14 introduced a new JavaScript framework called OWL (short for Odoo Web Library). OWL is a component-based UI framework and uses QWeb templates for structure. OWL is very fast compared to Odoo's legacy widget system and introduces tons of new features, including hooks, reactivity, the autoinstantiation of subcomponents, and more besides. In this chapter, we will learn how to use an OWL component to generate interactive UI elements. We will start from the minimal OWL component and then we will learn about the component's life cycle. Finally, we will create a new field widget for the form view. In this chapter, we will cover the following recipes:
Note
The following question may occur to you: Why is Odoo not using some well-known JavaScript...