diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-02-29 12:07:46 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-02-29 12:07:46 +0700 |
| commit | ee48a727e2617d8e094847dfb5bf9d5279db165a (patch) | |
| tree | 2bd261d3101d85aafe7da18e26d4d9627c7da24f | |
| parent | 5b5ad2f7dd3cfacde60ec57d46be45a309506784 (diff) | |
bug fix qty stock picking
| -rw-r--r-- | indoteknik_custom/models/stock_picking.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
