Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
7820 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
dic 18
8867
2
feb 18
4586
0
ott 17
5071
4
ott 17
4473
0
giu 24
994