2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-01 21:16:46 +00:00
InvenTree/InvenTree/order/migrations/0057_salesorderlineitem_shipped.py
Oliver 8aed68a1d1 Adds "shipped" field to SalesOrderLineItem
- This is an internal tracker of quantity of items shipped
- Updated by the database logic (not by the user)
- Keeps track of how many items have been shipped against a lineitem
- Does not matter if the actual stock items are later removed from the database
2021-11-26 23:20:27 +11:00

21 lines
620 B
Python

# Generated by Django 3.2.5 on 2021-11-26 12:06
import InvenTree.fields
import django.core.validators
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('order', '0056_alter_salesorderallocation_shipment'),
]
operations = [
migrations.AddField(
model_name='salesorderlineitem',
name='shipped',
field=InvenTree.fields.RoundingDecimalField(decimal_places=5, default=0, help_text='Shipped quantity', max_digits=15, validators=[django.core.validators.MinValueValidator(0)], verbose_name='Shipped'),
),
]