InvenTree/InvenTree/stock/migrations/0019_auto_20200202_1024.py
Oliver Walters 5264f816f1 Allow PartCategory and StocKLocation names to be non-unique
- As long as they are unique in the current tree level
2020-02-02 21:40:03 +11:00

20 lines
472 B
Python

# Generated by Django 2.2.9 on 2020-02-02 10:24
import InvenTree.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stock', '0018_auto_20200202_0103'),
]
operations = [
migrations.AlterField(
model_name='stocklocation',
name='name',
field=models.CharField(max_length=100, validators=[InvenTree.validators.validate_tree_name]),
),
]