跳至內容
選單
此問題已被標幟
1 回覆
18792 瀏覽次數

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
12月 22
8215
2
11月 16
3631
3
2月 20
9969
3
12月 19
6018
1
11月 24
1614