Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
5305 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
3191
2
ago 18
3024
0
giu 16
4055
0
mar 15
4549
0
mar 15
3464