mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
web_ir_actions_act_window_message: always refresh view after action
This commit is contained in:
committed by
Jasmin Solanki
parent
2454873100
commit
511505fe98
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user