3
0
Fork 0

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

15.0-ocabot-merge-pr-2789-by-pedrobaeza-bump-patch
Alexandre Díaz 2019-08-08 16:43:40 +02:00 committed by Sergey Shebanin
parent 04b298353a
commit 14859ab4a9
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({