Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
1748
2
sty 24
1038
0
cze 25
703
2
cze 25
760
0
kwi 25
1135