From 70e5ef8cf3b65764c021e6a5f276fd5014ce337d Mon Sep 17 00:00:00 2001 From: Mojtaba-z Date: Sat, 22 Nov 2025 09:42:16 +0330 Subject: [PATCH] fix - entry balance in org quota stat --- apps/product/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/product/models.py b/apps/product/models.py index 3a2629b..a308264 100644 --- a/apps/product/models.py +++ b/apps/product/models.py @@ -476,6 +476,7 @@ class Quota(BaseModel): "quota_distributed": stat.first().total_distributed if stat.exists() else 0, "been_sold": stat.first().sold_amount if stat.exists() else 0, "inventory_received": stat.first().inventory_received if stat.exists() else 0, + "inventory_entry_balance": stat.first().inventory_entry_balance if stat.exists() else 0, } def soft_delete(self):