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

I am working on odoo 16 for an inline form module.

In the JS i override the _processDirectPayment but when in this function i check if there is an error and then call the _enableButton function with this._enableButton() I get an  Uncaught (in promise) TypeError: this is undefined 

Is this the way to stop the button from blocking itself?

If yes why can i override with ease _processDirectPayment but not call this function?

If no what should i do to get the button in it's enable state?


Thanks in advance

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 25
2014
2
gen 24
1152
1
set 25
435
0
giu 25
1017
2
giu 25
1098