From cd0931b2e2461ae976b75806152b619d2c1972c8 Mon Sep 17 00:00:00 2001 From: Mojtaba-z Date: Sat, 22 Nov 2025 13:36:36 +0330 Subject: [PATCH] fix - set quota stat inventory entry balance --- apps/warehouse/services/warehouse_allocation_service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/warehouse/services/warehouse_allocation_service.py b/apps/warehouse/services/warehouse_allocation_service.py index e3b89af..7a909dc 100644 --- a/apps/warehouse/services/warehouse_allocation_service.py +++ b/apps/warehouse/services/warehouse_allocation_service.py @@ -43,6 +43,7 @@ class WarehouseAllocationService: ) stat.inventory_received += allocate_weight + stat.inventory_entry_balance += allocate_weight stat.remaining_amount -= allocate_weight stat.save()