With the new changes in odoo15. I am not able to override a function in Javascript.
I want to override "async function _executeReportAction(action, options)" function.
I hope you can help me.
With the new changes in odoo15. I am not able to override a function in Javascript.
I want to override "async function _executeReportAction(action, options)" function.
I hope you can help me.
You can try the following:
async function_executeReportAction(action, options) {
const _super = this._super.bind(this)
/**
*here comes your code
*/
return _super(...arguments)
}
| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
1
9월 23
|
7295 | |||
|
1
12월 23
|
3431 | |||
|
2
9월 23
|
12283 | |||
|
3
11월 25
|
5723 | |||
|
1
8월 24
|
5160 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
hi, Saleh. Did you find any solution?