some first models of pos & add required to attributes
This commit is contained in:
@@ -143,10 +143,12 @@ class OrganizationStats(BaseModel):
|
||||
null=True
|
||||
)
|
||||
total_quota_received = models.PositiveBigIntegerField(default=0)
|
||||
active_quotas_weight = models.PositiveBigIntegerField(default=0)
|
||||
closed_quotas_weight = models.PositiveBigIntegerField(default=0)
|
||||
total_quotas_weight = models.PositiveBigIntegerField(default=0)
|
||||
total_distributed = models.PositiveBigIntegerField(default=0)
|
||||
total_inventory_in = models.PositiveBigIntegerField(default=0)
|
||||
total_sold = models.PositiveBigIntegerField(default=0)
|
||||
total_buyers = models.PositiveBigIntegerField(default=0)
|
||||
|
||||
def __str__(self):
|
||||
return f'Organization: {self.organization.name}'
|
||||
|
||||
Reference in New Issue
Block a user