From ee48a727e2617d8e094847dfb5bf9d5279db165a Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Thu, 29 Feb 2024 12:07:46 +0700 Subject: bug fix qty stock picking --- indoteknik_custom/models/stock_picking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py index 33946f86..9f672da2 100644 --- a/indoteknik_custom/models/stock_picking.py +++ b/indoteknik_custom/models/stock_picking.py @@ -279,8 +279,8 @@ class StockPicking(models.Model): line.line_no = set_line def _compute_summary_qty(self): - sum_qty_detail = sum_qty_operation = count_line_detail = count_line_operation = 0 for picking in self: + sum_qty_detail = sum_qty_operation = count_line_detail = count_line_operation = 0 for detail in picking.move_line_ids_without_package: # detailed operations sum_qty_detail += detail.qty_done count_line_detail += 1 -- cgit v1.2.3