跳至内容
菜单
此问题已终结
1 回复
7679 查看

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
8776
2
2月 18
4486
0
10月 17
4957
4
10月 17
4372
0
6月 24
925