mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Allow availability_updated field to be blank
This commit is contained in:
parent
59fb2ac21f
commit
427f85cc94
@ -1,4 +1,4 @@
|
||||
# Generated by Django 3.2.13 on 2022-06-06 14:34
|
||||
# Generated by Django 3.2.13 on 2022-06-07 22:04
|
||||
|
||||
import django.core.validators
|
||||
from django.db import migrations, models
|
||||
@ -14,7 +14,7 @@ class Migration(migrations.Migration):
|
||||
migrations.AddField(
|
||||
model_name='supplierpart',
|
||||
name='availability_updated',
|
||||
field=models.DateTimeField(help_text='Date of last update of availability data', null=True, verbose_name='Availability Updated'),
|
||||
field=models.DateTimeField(blank=True, help_text='Date of last update of availability data', null=True, verbose_name='Availability Updated'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='supplierpart',
|
@ -536,7 +536,7 @@ class SupplierPart(models.Model):
|
||||
)
|
||||
|
||||
availability_updated = models.DateTimeField(
|
||||
null=True, verbose_name=_('Availability Updated'),
|
||||
null=True, blank=True, verbose_name=_('Availability Updated'),
|
||||
help_text=_('Date of last update of availability data'),
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user