add some new fields to quota sale transaction model - add rancher information about live stocks & quota aalocations information
This commit is contained in:
@@ -474,7 +474,7 @@ class QuotaBrokerValue(BaseModel):
|
||||
value = models.PositiveBigIntegerField(default=0)
|
||||
|
||||
def __str__(self):
|
||||
return f"Quota ({self.quota.id}) for Broker({self.broker.organization.name})"
|
||||
return f"Quota ({self.quota.id}) for Broker({self.broker.organization_type.name})"
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
return super(QuotaBrokerValue, self).save(*args, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user