This commit is contained in:
anhduy-tech
2026-01-10 15:27:29 +07:00
parent 98ad2fa16b
commit 3bab69d3a3
4 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
# Generated by Django 5.1.7 on 2026-01-10 07:56
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('app', '0352_transaction_early_discount_amount'),
]
operations = [
migrations.RemoveField(
model_name='organization',
name='tax_code',
),
]

View File

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