fix - update org visibility & bank fields blank=true

This commit is contained in:
2025-11-09 08:58:40 +03:30
parent 81b5a07b44
commit 6626624aff
2 changed files with 8 additions and 4 deletions

View File

@@ -194,10 +194,10 @@ class BankAccountInformation(BaseModel):
('USR', 'user'),
)
account_type = models.CharField(max_length=10, default='USR')
name = models.CharField(max_length=150, null=True)
card = models.CharField(max_length=25, null=True)
account = models.CharField(max_length=25, null=True)
sheba = models.CharField(max_length=30, null=True)
name = models.CharField(max_length=150, null=True, blank=True)
card = models.CharField(max_length=25, null=True, blank=True)
account = models.CharField(max_length=25, null=True, blank=True)
sheba = models.CharField(max_length=30, null=True, blank=True)
def __str__(self):
return f'{self.name}-{self.card}'