2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 12:05:53 +00:00

Add a 'sales order' view for each part

This commit is contained in:
Oliver Walters
2020-04-21 09:15:01 +10:00
parent b204618e79
commit 3d2e907d5e
7 changed files with 81 additions and 4 deletions

View File

@ -0,0 +1,20 @@
# Generated by Django 3.0.5 on 2020-04-20 23:09
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('part', '0035_auto_20200406_0045'),
('order', '0022_salesorderlineitem_part'),
]
operations = [
migrations.AlterField(
model_name='salesorderlineitem',
name='part',
field=models.ForeignKey(help_text='Part', limit_choices_to={'salable': True}, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='sales_order_line_items', to='part.Part'),
),
]