Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1537 Переглядів

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
лип. 25
1626
2
січ. 24
974
0
черв. 25
500
2
черв. 25
562
0
квіт. 25
997