summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-05-27 10:45:52 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-05-27 10:45:52 +0700
commit8a7315b6e8ba391f1260bc994df00107d52623c3 (patch)
tree474181c933d96cae034d90343d00865136770743
parentaf127b94e7b597a3451f42199df56e27899272fd (diff)
parentc4aebb9fc2cb875554b26e21231de0ad0bfd48ce (diff)
Merge branch 'odoo-backup' of bitbucket.org:altafixco/indoteknik-addons into odoo-backup
-rwxr-xr-xindoteknik_custom/models/product_template.py2
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):