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)
}
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
1
sep. 23
|
7290 | |||
|
1
dec. 23
|
3429 | |||
|
2
sep. 23
|
12282 | |||
|
3
nov. 25
|
5711 | |||
|
1
aug. 24
|
5158 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
hi, Saleh. Did you find any solution?