Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
18783 มุมมอง

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
8204
2
พ.ย. 16
3620
3
ก.พ. 20
9961
3
ธ.ค. 19
6010
1
พ.ย. 24
1611