This commit is contained in:
anhduy-tech
2026-01-20 08:41:46 +07:00
parent 06550d9297
commit c6f6cc1aa1
10 changed files with 26 additions and 3 deletions

View File

@@ -1349,8 +1349,8 @@ class Individual(models.Model):
class Organization(models.Model):
customer = models.ForeignKey(Customer, null=False, related_name='orgncust', on_delete=models.PROTECT)
shortname = models.CharField(max_length=50, null=False)
established_date = models.DateField()
shortname = models.CharField(max_length=50, null=True)
established_date = models.DateField(null=True)
website = models.CharField(max_length=200, null=True)
bank_account = models.CharField(max_length=50, null=True)
bank_name = models.CharField(max_length=100, null=True)