import - qoutas count in inventory entry dashbiard
This commit is contained in:
@@ -63,7 +63,7 @@ class InventoryEntry(BaseModel):
|
||||
return self.weight - self.total_sold
|
||||
|
||||
def __str__(self):
|
||||
return f"distribution: {self.distribution.distribution_id}-{self.organization.name}"
|
||||
return f"entry: {self.id}-{self.quota.quota_id}-{self.organization.name}"
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
if not self.entry_identity:
|
||||
|
||||
Reference in New Issue
Block a user