diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2025-05-27 10:38:38 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2025-05-27 10:38:38 +0700 |
| commit | c4aebb9fc2cb875554b26e21231de0ad0bfd48ce (patch) | |
| tree | c2f3034b1044dfda27d4b4a491fa57b733201672 | |
| parent | a01f05f50dd852e76b44709259e8baaf33e4b462 (diff) | |
add qty outgoing manufacturing order formula in free qty
| -rwxr-xr-x | indoteknik_custom/models/product_template.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py index 3bb54f44..2c07824a 100755 --- a/indoteknik_custom/models/product_template.py +++ b/indoteknik_custom/models/product_template.py @@ -1146,7 +1146,7 @@ class ProductProduct(models.Model): def _get_qty_free_bandengan(self): for product in self: - qty_free = product.qty_onhand_bandengan - product.qty_outgoing_bandengan + qty_free = product.qty_onhand_bandengan - product.qty_outgoing_bandengan - product.qty_outgoing_mo_bandengan product.qty_free_bandengan = qty_free def _get_max_qty_reordering_rule(self): |
