add - blank=True to org address
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 5.0 on 2025-11-04 07:29
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('authentication', '0045_organization_address'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='organization',
|
||||||
|
name='address',
|
||||||
|
field=models.TextField(blank=True, max_length=1000, null=True),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -136,7 +136,7 @@ class Organization(BaseModel):
|
|||||||
related_name='parents',
|
related_name='parents',
|
||||||
null=True
|
null=True
|
||||||
)
|
)
|
||||||
address = models.TextField(max_length=1000, null=True)
|
address = models.TextField(max_length=1000, null=True, blank=True)
|
||||||
separate_warehouse = models.BooleanField(default=False)
|
separate_warehouse = models.BooleanField(default=False)
|
||||||
has_pos = models.BooleanField(default=False)
|
has_pos = models.BooleanField(default=False)
|
||||||
additional_data = models.JSONField(default=dict)
|
additional_data = models.JSONField(default=dict)
|
||||||
|
|||||||
Reference in New Issue
Block a user