[IMP] web_ir_actions_act_view_reload support wizards

This commit is contained in:
Holger Brunn
2022-06-28 16:36:04 +02:00
parent b917c99d46
commit d3a78d2e27

View File

@@ -25,7 +25,7 @@ odoo.define('web_ir_actions_act_view_reload.ir_actions_act_view_reload', functio
* @returns {$.Promise}
*/
_executeReloadAction: function () {
var controller = this.getCurrentController();
var controller = this.currentDialogController || this.getCurrentController();
if (controller && controller.widget) {
controller.widget.reload();
}