2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00

Rename some fields

- Oops didn't think that through, gotta go through and fix the data now...
This commit is contained in:
Oliver Walters
2019-06-02 19:46:30 +10:00
parent fd2e2a71f9
commit ba26acd487
14 changed files with 97 additions and 21 deletions

View File

@ -0,0 +1,19 @@
# Generated by Django 2.2 on 2019-06-02 09:44
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stock', '0004_auto_20190525_2356'),
]
operations = [
migrations.AlterField(
model_name='stockitem',
name='status',
field=models.PositiveIntegerField(choices=[(10, 'OK'), (50, 'Attention needed'), (55, 'Damaged'), (60, 'Destroyed'), (70, 'Lost')], default=10, validators=[django.core.validators.MinValueValidator(0)]),
),
]