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)
}
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
1
сент. 23
|
6160 | |||
|
1
дек. 23
|
2558 | |||
|
2
сент. 23
|
11021 | |||
|
3
нояб. 25
|
4433 | |||
|
1
авг. 24
|
4243 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
hi, Saleh. Did you find any solution?