pos client & provider - fix org limit bug in quota

This commit is contained in:
2025-07-24 11:26:05 +03:30
parent 357d6d5cac
commit f8dbe0ab29
6 changed files with 113 additions and 19 deletions

View File

@@ -126,7 +126,7 @@ class POSClientAttribute(BaseModel):
('choice', 'چند کزینه ای'), # noqa
], null=True)
required = models.BooleanField(default=False)
choices = ArrayField(base_field=models.CharField(max_length=150), null=True)
choices = ArrayField(base_field=models.CharField(max_length=150), null=True, blank=True)
def __str__(self):
return f'attribute: {self.key}-{self.field_type}'