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

pull/1351/head
Alexandre Díaz 2019-08-08 16:43:40 +02:00
parent da292dd541
commit 54c2103014
1 changed files with 11 additions and 0 deletions

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