mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] 12.0-imp-web_widget_one2many_product_picker_sale_stock: Check if the element exists
This commit is contained in:
@@ -9,7 +9,9 @@ odoo.define("web_widget_one2many_product_picker_sale_stock.QtyAtDateWidget", fun
|
||||
|
||||
QtyAtDateWidget.include({
|
||||
on_detach_callback: function() {
|
||||
this.$el.popover("dispose");
|
||||
if (this.$el) {
|
||||
this.$el.popover("dispose");
|
||||
}
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user