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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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)
}
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
set 23
|
3882 | ||
|
1
dic 23
|
975 | ||
|
2
set 23
|
7922 | ||
|
1
ago 24
|
2508 | ||
|
1
dic 23
|
1712 |
hi, Saleh. Did you find any solution?