change: invalid_product model field comment type changed

This commit is contained in:
behruz-dev
2025-08-28 09:43:09 +05:00
parent d29a8d28ed
commit 7dc1dc1834
2 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
# Generated by Django 5.2.4 on 2025-08-28 09:42
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('wherehouse', '0008_invalidproduct_invalid_status_and_more'),
]
operations = [
migrations.AlterField(
model_name='invalidproduct',
name='comment',
field=models.TextField(blank=True, null=True),
),
]

View File

@@ -40,7 +40,7 @@ class InvalidProduct(BaseModel):
# optional
created_date = models.DateField(null=True, blank=True)
expiry_date = models.DateField(null=True, blank=True)
comment = models.DateField(null=True, blank=True)
comment = models.TextField(null=True, blank=True)
file = models.FileField(null=True, blank=True, upload_to='invalid_product/files/')
def __str__(self):