İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
18660 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Ara 22
8085
2
Kas 16
3546
3
Şub 20
9822
3
Ara 19
5923
1
Kas 24
1505