From a1a0c2f5221e93b3f4bb0d657ff603a176b4569d Mon Sep 17 00:00:00 2001 From: "Horacio Tellez (hote)" Date: Thu, 24 Aug 2023 14:33:00 +0200 Subject: [PATCH] [FIX] sale: fix concurrency issue Preparing the sales catalog to odoo 17 release: - some functional additions/improvements: - fix the concurrency bug of removing items with the "Remove" button not happening sometimes task-3367295 Part-of: odoo/odoo#126796 --- addons/sale/static/src/js/product_catalog/kanban_record.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/addons/sale/static/src/js/product_catalog/kanban_record.js b/addons/sale/static/src/js/product_catalog/kanban_record.js index 7233893a715..d0137a19189 100644 --- a/addons/sale/static/src/js/product_catalog/kanban_record.js +++ b/addons/sale/static/src/js/product_catalog/kanban_record.js @@ -49,11 +49,6 @@ export class ProductCatalogKanbanRecord extends KanbanRecord { product_id: this.env.productId, quantity: this.productCatalogData.quantity, }); - // Force a reload of the page to remove a product from the view in the case a filter is - // applied. - if (this.productCatalogData.quantity === 0) { - this.props.record.model.load(); - } this.productCatalogData.price = parseFloat(price); }