mirror of https://github.com/OCA/web.git
[FIX] web_widget_one2many_product_picker: Redraw records in 'Lines' section
parent
37992bb486
commit
c094c5853a
|
@ -142,11 +142,6 @@ odoo.define("web_widget_one2many_product_picker.One2ManyProductPickerRenderer",
|
|||
}
|
||||
}
|
||||
|
||||
if (this.search_group.name === "main_lines") {
|
||||
_.invoke(to_destroy, "destroy");
|
||||
return $.when();
|
||||
}
|
||||
|
||||
// If doesn't exists other records with the same product, we need
|
||||
// create a 'pure virtual' record again.
|
||||
for (var index_destroy in to_destroy) {
|
||||
|
|
Loading…
Reference in New Issue