summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/stock_picking.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-10-02 16:45:07 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-10-02 16:45:07 +0700
commit9fe4b646f1b1cda3d704a66dfbca3e935e38d96b (patch)
treed22e810cbd1f0b409378ff363fb4427f89702481 /indoteknik_custom/models/stock_picking.py
parentb0b5d0a094a1a87810b45bfcc52c17a82b73d3eb (diff)
Group by brand, sync to solr when validate stock picking, add new name function solr queue
Diffstat (limited to 'indoteknik_custom/models/stock_picking.py')
-rw-r--r--indoteknik_custom/models/stock_picking.py2
1 files changed, 1 insertions, 1 deletions
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()