Browse Source

web_ir_actions_act_window_message: always refresh view after action

pull/644/head
Zakaria Makrelouf 7 years ago
committed by Jairo Llopis
parent
commit
a10139c559
  1. 16
      web_ir_actions_act_window_message/static/src/js/web_ir_actions_act_window_message.js

16
web_ir_actions_act_window_message/static/src/js/web_ir_actions_act_window_message.js

@ -71,18 +71,10 @@ odoo.define('web.web_ir_actions_act_window_message', function (require) {
{
self.do_action(result);
}
else
{
if(
self.inner_widget &&
self.inner_widget.views
)
{
self.inner_widget
.views[self.inner_widget.active_view]
.controller.recursive_reload();
}
}
// always refresh the view after the action
// ex: action updates a status
self.inner_widget.active_view
.controller.recursive_reload();
});
}
else{

Loading…
Cancel
Save