diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-11-12 01:42:23 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-11-12 01:42:23 +0000 |
| commit | 38c6551a94098370e060e45739dc4c8ae923c48e (patch) | |
| tree | 69fe3d1027583ded107e8865a66e29725b3b0ccd /indoteknik_api/models | |
| parent | 0c6f047cab337f7463ef359bbb744a2be7145267 (diff) | |
| parent | c8ce7890c7174ea678da282e3fa04501b24951bc (diff) | |
Merged in iman/request-renca-stock (pull request #249)
<iman> update ready stock picup quantity
Diffstat (limited to 'indoteknik_api/models')
| -rw-r--r-- | indoteknik_api/models/sale_order.py | 1 |
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': |
