fix - entry balance in org quota stat
This commit is contained in:
@@ -476,6 +476,7 @@ class Quota(BaseModel):
|
|||||||
"quota_distributed": stat.first().total_distributed if stat.exists() else 0,
|
"quota_distributed": stat.first().total_distributed if stat.exists() else 0,
|
||||||
"been_sold": stat.first().sold_amount 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_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):
|
def soft_delete(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user