[IMP] web_responsive: Don't show menu if waiting for an action to end

This commit is contained in:
Alexandre Díaz
2019-08-08 16:43:40 +02:00
committed by Sergey Shebanin
parent 04b298353a
commit 14859ab4a9

View File

@@ -351,6 +351,17 @@ odoo.define('web_responsive', function (require) {
return this._super.apply(this, arguments);
}
},
/**
* Don't display the menu if are waiting for an action to end
*
* @override
*/
_onMouseOverMenu: function () {
if ($('.oe_wait').length === 0) {
this._super.apply(this, arguments);
}
},
});
RelationalFields.FieldStatus.include({