コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
18813 ビュー

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
8227
2
11月 16
3647
3
2月 20
9985
3
12月 19
6032
1
11月 24
1623