|
@ -45,7 +45,7 @@ WebClient.include({ |
|
|
var active_view = widget ? widget.active_view : false; |
|
|
var active_view = widget ? widget.active_view : false; |
|
|
if (active_view && session.uid !== message.uid) { |
|
|
if (active_view && session.uid !== message.uid) { |
|
|
var controller = this.action_manager.inner_widget.active_view.controller; |
|
|
var controller = this.action_manager.inner_widget.active_view.controller; |
|
|
if(controller.modelName === message.model && controller.mode === "readonly") { |
|
|
|
|
|
|
|
|
if(controller && controller.modelName === message.model && controller.mode === "readonly") { |
|
|
if(active_view.type === "form" && message.ids.includes(widget.env.currentId)) { |
|
|
if(active_view.type === "form" && message.ids.includes(widget.env.currentId)) { |
|
|
controller.reload(); |
|
|
controller.reload(); |
|
|
} else if(active_view.type === "list" && |
|
|
} else if(active_view.type === "list" && |
|
|