跳至內容
選單
此問題已被標幟

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
7月 25
1617
2
1月 24
973
0
6月 25
467
2
6月 25
534
0
4月 25
968