Coverage for src/backend/InvenTree/company/migrations/0044_auto_20220607_2204.py: 100%
5 statements
« prev ^ index » next coverage.py v7.15.2, created at 2026-10-07 17:47 +0000
« prev ^ index » next coverage.py v7.15.2, created at 2026-10-07 17:47 +0000
1# Generated by Django 3.2.13 on 2022-06-07 22:04
3import django.core.validators
4from django.db import migrations, models
7class Migration(migrations.Migration):
9 dependencies = [
10 ('company', '0043_manufacturerpartattachment'),
11 ]
13 operations = [
14 migrations.AddField(
15 model_name='supplierpart',
16 name='availability_updated',
17 field=models.DateTimeField(blank=True, help_text='Date of last update of availability data', null=True, verbose_name='Availability Updated'),
18 ),
19 migrations.AddField(
20 model_name='supplierpart',
21 name='available',
22 field=models.DecimalField(decimal_places=3, default=0, help_text='Quantity available from supplier', max_digits=10, validators=[django.core.validators.MinValueValidator(0)], verbose_name='Available'),
23 ),
24 ]