summaryrefslogtreecommitdiff
path: root/indoteknik_api/models
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-10-16 13:15:11 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-10-16 13:15:11 +0700
commit4c2325d4a983ced3a25a9d53d7613a9186360b17 (patch)
tree7aa784a880fa2dbc0fea5d2115c1e1550105f641 /indoteknik_api/models
parent0e00a82659579fa0fdfe1f51687b3568cd62a955 (diff)
<iman> update ready stock picup quantity
Diffstat (limited to 'indoteknik_api/models')
-rw-r--r--indoteknik_api/models/sale_order.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_api/models/sale_order.py b/indoteknik_api/models/sale_order.py
index 725dbb4b..8e0371a3 100644
--- a/indoteknik_api/models/sale_order.py
+++ b/indoteknik_api/models/sale_order.py
@@ -84,6 +84,7 @@ class SaleOrder(models.Model):
'subtotal': line.price_subtotal
}
product['quantity'] = line.product_uom_qty
+ product['available_quantity'] = line.product_available_quantity
data_with_detail['products'].append(product)
for invoice in sale_order.invoice_ids:
if invoice.state == 'posted':