mirror of https://github.com/OCA/web.git
[FIX] web_widget_one2many_product_picker: Use a compact list of old widgets to destroy
parent
dccab1502a
commit
6fd1f4f7e2
|
@ -271,7 +271,7 @@ odoo.define("web_widget_one2many_product_picker.One2ManyProductPickerRenderer",
|
|||
*/
|
||||
_renderView: function () {
|
||||
var self = this;
|
||||
var oldWidgets = this.widgets;
|
||||
var oldWidgets = _.compact(this.widgets);
|
||||
this.widgets = [];
|
||||
this.$recordsContainer = $("<DIV/>", {
|
||||
class: "w-100 row",
|
||||
|
|
Loading…
Reference in New Issue