Browse Source

publish muk_web_client_refresh - 11.0

pull/64/head
MuK IT GmbH 6 years ago
parent
commit
34be75c536
  1. 2
      muk_web_client_refresh/__manifest__.py
  2. 2
      muk_web_client_refresh/static/src/js/client_refresh.js

2
muk_web_client_refresh/__manifest__.py

@ -20,7 +20,7 @@
{
"name": "MuK Web Refresh",
"summary": """Web Client Refresh""",
"version": "11.0.2.1.3",
"version": "11.0.2.1.4",
"category": "Extra Tools",
"license": "AGPL-3",
"website": "http://www.mukit.at",

2
muk_web_client_refresh/static/src/js/client_refresh.js

@ -45,7 +45,7 @@ WebClient.include({
var active_view = widget ? widget.active_view : false;
if (active_view && session.uid !== message.uid) {
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)) {
controller.reload();
} else if(active_view.type === "list" &&

Loading…
Cancel
Save