Merge PR #2241 into 12.0

Signed-off-by dreispt
pull/2858/head
OCA-git-bot 2024-05-18 14:43:26 +00:00
commit 2bb15e5b29
1 changed files with 1 additions and 1 deletions

View File

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