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)
}
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
1
ก.ย. 23
|
6195 | |||
|
1
ธ.ค. 23
|
2565 | |||
|
|
2
ก.ย. 23
|
11079 | ||
|
3
พ.ย. 25
|
4477 | |||
|
1
ส.ค. 24
|
4256 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
hi, Saleh. Did you find any solution?