mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 12:05:53 +00:00
Updates for purchase order line items
- Display list of line items - Add a form to create a new line item
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
# Generated by Django 2.2 on 2019-06-05 10:36
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('company', '0005_auto_20190525_2356'),
|
||||
('order', '0004_purchaseorder_status'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='purchaseorderlineitem',
|
||||
name='part',
|
||||
field=models.ForeignKey(blank=True, help_text='Supplier part', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='orders', to='company.SupplierPart'),
|
||||
),
|
||||
]
|
18
InvenTree/order/migrations/0006_auto_20190605_2056.py
Normal file
18
InvenTree/order/migrations/0006_auto_20190605_2056.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 2.2 on 2019-06-05 10:56
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('company', '0005_auto_20190525_2356'),
|
||||
('order', '0005_purchaseorderlineitem_part'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterUniqueTogether(
|
||||
name='purchaseorderlineitem',
|
||||
unique_together={('order', 'part')},
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user