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

Set default value for SupplierPriceBreak

Edit or Delete a SupplierPriceBreak
This commit is contained in:
Oliver Walters
2019-05-18 17:35:39 +10:00
parent fc3072a459
commit 5043c354b1
5 changed files with 61 additions and 5 deletions

View File

@ -0,0 +1,19 @@
# Generated by Django 2.2 on 2019-05-18 06:50
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('part', '0030_auto_20190518_1641'),
]
operations = [
migrations.AlterField(
model_name='supplierpricebreak',
name='quantity',
field=models.PositiveIntegerField(default=1, validators=[django.core.validators.MinValueValidator(1)]),
),
]