2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-21 14:20:54 +00:00

Add 'revision' field to part

- e.g. different versions of a product
- Can keep old versions in database and mark as inactive
This commit is contained in:
Oliver Walters
2019-06-20 21:46:16 +10:00
parent 8328e7e13c
commit a5306ec81b
6 changed files with 48 additions and 2 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 2.2.2 on 2019-06-20 11:37
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('part', '0010_auto_20190620_2135'),
]
operations = [
migrations.AddField(
model_name='part',
name='revision',
field=models.CharField(blank=True, help_text='Part revision or version number', max_length=100),
),
]