[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 Splash
parent b912b10e8f
commit 196bb166b2

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({