mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_ir_actions_act_view_reload: Migration to 13.0
This commit is contained in:
committed by
Ryan Cole
parent
8cfc0644c5
commit
92f80830e4
@@ -9,7 +9,7 @@ odoo.define('web_ir_actions_act_view_reload.ir_actions_act_view_reload', functio
|
||||
ActionManager.include({
|
||||
|
||||
/**
|
||||
* Intersept action handling to detect extra action type
|
||||
* Intercept action handling to detect extra action type
|
||||
* @override
|
||||
*/
|
||||
_handleAction: function (action, options) {
|
||||
@@ -22,7 +22,7 @@ odoo.define('web_ir_actions_act_view_reload.ir_actions_act_view_reload', functio
|
||||
|
||||
/**
|
||||
* Handle 'ir.actions.act_view_reload' action
|
||||
* @returns {$.Promise}
|
||||
* @returns {Promise} Resolved promise
|
||||
*/
|
||||
_executeReloadAction: function () {
|
||||
var controller = this.getCurrentController();
|
||||
@@ -30,7 +30,7 @@ odoo.define('web_ir_actions_act_view_reload.ir_actions_act_view_reload', functio
|
||||
controller.widget.reload();
|
||||
}
|
||||
|
||||
return $.when();
|
||||
return Promise.resolve();
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user