Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2754 Näkymät

Hi, 

In Odoo Widgets, there is the "start" method, that gets called after render, but before the Element gets added to the DOM. 

Is there any event after it's been added to the DOM? 

I'm not able to use OWL, as i have to include new functions into an existing non owl Widget. 

I also found " on_attach_callback ", but this one gets called twice when there was an error rasied in the parent view. And on the second call, all this.... vairables are reset, so i cannot  skip the second call. 

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
heinäk. 25
313
1
heinäk. 25
5107
0
heinäk. 25
669
0
kesäk. 25
728
1
kesäk. 25
900