Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
18843 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
pro 22
8241
2
lis 16
3656
3
úno 20
9994
3
pro 19
6055
1
lis 24
1647