bug bug
This commit is contained in:
@@ -333,9 +333,6 @@ def organization_quota_stats(sender, instance: Quota, created: bool, **kwargs):
|
||||
|
||||
org_quota_stat.save(update_fields=['total_amount', 'total_distributed', 'sold_amount', 'remaining_amount'])
|
||||
|
||||
instance.attribute_values.all().update(org_quota_stat=org_quota_stat)
|
||||
instance.broker_values.all().update(org_quota_stat=org_quota_stat)
|
||||
|
||||
# delete quota
|
||||
if instance.trash:
|
||||
org_quota_stat.soft_delete()
|
||||
|
||||
Reference in New Issue
Block a user