Merge PR #2299 into 14.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2022-09-30 06:57:14 +00:00

View File

@@ -160,7 +160,8 @@ odoo.define("web_drop_target", function (require) {
if (
_.isEmpty(this._get_drop_items(ev)) &&
this._checkDragOver() &&
(controller === undefined || controller.jsID === this.controllerID)
(controller === undefined ||
(controller && controller.jsID === this.controllerID))
) {
const drop_zone_offset = this.$drop_zone.offset();
const overlay_css = {