Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
18788 Переглядів

How to How to implement abstract model  in odoo 12 and what are the uses  of abstract model.

please explain with an example


thanks in advance

Аватар
Відмінити
Найкраща відповідь

Hello,

Abstract is a generic model that implements some feature that can then be inherited by regular models in order to make that feature available in them.
So if you want to test abstract model you need to inherit this inside regular model(models.model).
For reference you can look for mail.thread inherit into sale.order. and based on that you can use/call method of the
mail.thread object.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
груд. 22
8212
2
лист. 16
3628
3
лют. 20
9963
3
груд. 19
6014
1
лист. 24
1613