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

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

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mag 19
3462
2
ago 18
3214
0
giu 16
4275
0
mar 15
4768
0
mar 15
3676