summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2026-02-11 17:49:50 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2026-02-11 17:49:50 +0700
commit8936285678ab705c9e2a09c2d5479347e7986f2b (patch)
tree4a9ef8f69b7145d8224150ce05155c1d84af0651
parente20d26239cab9d9f0cab0dc117d59731204310e0 (diff)
parent6c749fd5c8deee7e38cc123b77e06b938bdcc3b3 (diff)
Merge branch 'odoo-backup' of bitbucket.org:altafixco/indoteknik-addons into gudang-service
merge
-rw-r--r--indoteknik_custom/models/stock_picking.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index ab6d2966..065b1484 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -1397,7 +1397,8 @@ class StockPicking(models.Model):
])
if quant:
- return quant.quantity
+ return sum(quant.mapped('quantity'))
+ # return quant.quantity
return 0