diff --git a/InvenTree/company/migrations/0044_auto_20220606_1434.py b/InvenTree/company/migrations/0044_auto_20220607_2204.py similarity index 76% rename from InvenTree/company/migrations/0044_auto_20220606_1434.py rename to InvenTree/company/migrations/0044_auto_20220607_2204.py index ef31115080..2a8f4890bf 100644 --- a/InvenTree/company/migrations/0044_auto_20220606_1434.py +++ b/InvenTree/company/migrations/0044_auto_20220607_2204.py @@ -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', diff --git a/InvenTree/company/models.py b/InvenTree/company/models.py index 7e51255bae..a479534906 100644 --- a/InvenTree/company/models.py +++ b/InvenTree/company/models.py @@ -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'), )