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

How inhrited a openerp web controller, for example, i override a controller /web/dataset/call_button

Avatar
Hylkää
Paras vastaus

Just import the original controller module class and create a new class that inherit from the original controller class and override the method with the new route and if you don't need to do anything else in the method override just call super

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
toukok. 19
3186
2
elok. 18
3019
0
kesäk. 16
4055
0
maalisk. 15
4546
0
maalisk. 15
3458