Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
7862 Visninger

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?

Avatar
Kassér
Bedste svar

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.

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
dec. 18
8894
2
feb. 18
4614
0
okt. 17
5102
4
okt. 17
4517
0
jun. 24
1021