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

what is the use of this._super() and this._super.apply(). can you give me the definition?

In which case, we can use this._super() and this._super.apply().

what is the difference between include() and extend() odoo javascript?

頭像
捨棄
最佳答案

Hi, I can tell you the difference between include and extend.

Include, is for modify an existing widget

Exclude, is for create a new widget  inheriting from the older one.

Include is like use _inherit in odoo python code for modify a model

Exclude is like use _inherit and _name  for create a new model inheriting from the older one.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
12月 18
8780
2
2月 18
4498
0
10月 17
4963
4
10月 17
4397
0
6月 24
930