mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
400941c10f
- Allow 'partial' quantity e.g. '0.45kg' - Need to change some maths functions as Decimal type is pernickity
20 lines
509 B
Python
20 lines
509 B
Python
# Generated by Django 2.2.5 on 2019-11-18 21:46
|
|
|
|
import django.core.validators
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('stock', '0015_auto_20190913_1407'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='stockitem',
|
|
name='quantity',
|
|
field=models.DecimalField(decimal_places=5, default=1, max_digits=15, validators=[django.core.validators.MinValueValidator(0)]),
|
|
),
|
|
]
|