diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-11-20 10:49:20 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-11-20 10:49:20 +0700 |
| commit | c19bfe2d5c4a40c14e6da71a0745c4ab23a49716 (patch) | |
| tree | 217527532534af86883d755a82bf84cbd3545eaf /indoteknik_api | |
| parent | 0b18f8b67d8c4d4642d85f372555e638b3afa253 (diff) | |
<iman> ubah source data dari free qty ke qty free bandengan
Diffstat (limited to 'indoteknik_api')
| -rw-r--r-- | indoteknik_api/controllers/api_v1/product.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_api/controllers/api_v1/product.py b/indoteknik_api/controllers/api_v1/product.py index b68eb0f9..32362582 100644 --- a/indoteknik_api/controllers/api_v1/product.py +++ b/indoteknik_api/controllers/api_v1/product.py @@ -103,7 +103,7 @@ class Product(controller.Controller): product = request.env['product.product'].search( [('id', '=', id)], limit=1) - qty_available = product.free_qty + qty_available = product.qty_free_bandengan data = { 'qty': qty_available, |
