Skip to Content
Menu
This question has been flagged
1 Reply
18631 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
1
Dec 22
8067
2
Nov 16
3516
3
Feb 20
9783
3
Dec 19
5899
1
Nov 24
1481