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)
}
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
1
set. 23
|
6576 | |||
|
1
dez. 23
|
2838 | |||
|
|
2
set. 23
|
11491 | ||
|
3
nov. 25
|
4859 | |||
|
1
ago. 24
|
4573 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
hi, Saleh. Did you find any solution?