Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
18762 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Des 22
8192
2
Nov 16
3618
3
Feb 20
9958
3
Des 19
6010
1
Nov 24
1610