From 9fe4b646f1b1cda3d704a66dfbca3e935e38d96b Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Mon, 2 Oct 2023 16:45:07 +0700 Subject: Group by brand, sync to solr when validate stock picking, add new name function solr queue --- indoteknik_custom/models/stock_picking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indoteknik_custom/models/stock_picking.py') diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py index 181f2a59..418649b1 100644 --- a/indoteknik_custom/models/stock_picking.py +++ b/indoteknik_custom/models/stock_picking.py @@ -307,7 +307,7 @@ class StockPicking(models.Model): for product in self.move_line_ids_without_package.product_id: if product: - product.product_tmpl_id._create_solr_queue('_sync_product_template_to_solr') + product.product_tmpl_id._create_solr_queue('_sync_product_stock_to_solr') res = super(StockPicking, self).button_validate() self.calculate_line_no() -- cgit v1.2.3