2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-01 13:06:45 +00:00
InvenTree/InvenTree/order/migrations/0025_auto_20200422_0222.py
Oliver Walters 1373425c29 Update definition for StockItemAllocation model
- Limit foreignkey choices
- Error checking
- Check if a StockItem is over-allocated
- Fix API serialization and filtering
2020-04-22 13:11:19 +10:00

19 lines
411 B
Python

# Generated by Django 3.0.5 on 2020-04-22 02:22
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('stock', '0031_auto_20200422_0209'),
('order', '0024_salesorderallocation'),
]
operations = [
migrations.AlterUniqueTogether(
name='salesorderallocation',
unique_together={('line', 'item')},
),
]