3
0
Fork 0

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

17.0
Alexandre Díaz 2019-08-08 16:43:40 +02:00 committed by Taras Shabaranskyi
parent 27c80a8391
commit 441ae8bd02
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); 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({ RelationalFields.FieldStatus.include({