mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_widget_one2many_product_picker: Use a compact list of old widgets to destroy
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user