Загрузка страницы

Different types of inheritance in Odoo | Types of inheritance | Delegation inheritance

Type of inheritance in Odoo, How to extend module in Odoo, How to use traditional (classic) or delegation inheritance in Odoo, How to extend Model or TransientModel in existing or different module. we can use as below.

Extend (Inheritance) same model
Here we will use the only _inherit, we will not use the _name model attribute. The child model replaces the existing one. This inheritance is used when we want to add new fields or methods to the existing model.

Traditional (Classical) Inheritance
In this inheritance, we use both _name and _inherit model attributes together. The new models get all methods, fields from its base.

Delegation Inheritance
In delegation inheritance, we use the _inherits model attribute. This is used if you want to use another model in your current model.

Here we will see below topics in detail.

Simple Inheritance
Traditional Inheritance
Delegation Inheritance
How to extend Wizard (TransientModel)
How to extend or override existing methods.

If you missed previous discussion related How to compare directory or files using PyCharm editor
https://youtu.be/SRnjX_yDels

Also how to get information from configuration file using backend in Odoo.
https://youtu.be/qJx1lndrxxU

Subscribe - Share - Comment/Suggestion - Enjoy - DonateUS

DonateUS :- https://ko-fi.com/weblearns

#TraditionalInheritance #ClassicalInheritance #DelegationInheritance #OdooInheritance #ExtendModelClass #ExtendTransientModel #odoo #tinyerp #openerp

Видео Different types of inheritance in Odoo | Types of inheritance | Delegation inheritance канала WebLearns
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
29 декабря 2020 г. 14:15:25
00:48:39
Яндекс.Метрика