OWL Framework - Create and Inherit Field Widgets

Описание к видео OWL Framework - Create and Inherit Field Widgets

OWL Framework - Create and Inherit Field Widgets
In this tutorial, you will learn how to create new field widgets in Odoo from scratch and how to inherit existing field widgets from Odoo.

You will learn how to inherit the email field widget easily by adding a warning message if the user entered an invalid email address. Since it's an invalid email, the link in opening a new email from the mail client will be hidden.

Then you will learn how to modify the style of field widgets by adding classes and use SCSS file. Sometimes it's not enough to inherit only the field widget and we need to create a new template and pass the field widget as a component.

Lastly, you will learn how to create a new field widget from scratch. We will know that there are standard field props needed for new field widgets which you can easily import without creating them again.

00:00 - Field Widgets Project Overview
01:21 - Valid Email FIeld Widget
07:28 - Username Field Widget
13:35 - New Range Field Widget

Github Repo: https://github.com/alferjay/odoo-owl-...

Комментарии

Информация по комментариям в разработке