mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove "unique" constraint for part / order relationship
This commit is contained in:
parent
217097c9d3
commit
709bfb1bd2
17
InvenTree/order/migrations/0043_auto_20210330_0013.py
Normal file
17
InvenTree/order/migrations/0043_auto_20210330_0013.py
Normal file
@ -0,0 +1,17 @@
|
||||
# Generated by Django 3.0.7 on 2021-03-29 13:13
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('order', '0042_auto_20210310_1619'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterUniqueTogether(
|
||||
name='salesorderlineitem',
|
||||
unique_together=set(),
|
||||
),
|
||||
]
|
@ -663,7 +663,6 @@ class SalesOrderLineItem(OrderLineItem):
|
||||
|
||||
class Meta:
|
||||
unique_together = [
|
||||
('order', 'part'),
|
||||
]
|
||||
|
||||
def fulfilled_quantity(self):
|
||||
|
Loading…
Reference in New Issue
Block a user