change: invalid_product model field comment type changed
This commit is contained in:
@@ -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),
|
||||
),
|
||||
]
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user