Remove "unique" constraint for part / order relationship

This commit is contained in:
Oliver Walters 2021-03-30 00:14:47 +11:00
parent 217097c9d3
commit 709bfb1bd2
2 changed files with 17 additions and 1 deletions

View 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(),
),
]

View File

@ -663,7 +663,6 @@ class SalesOrderLineItem(OrderLineItem):
class Meta:
unique_together = [
('order', 'part'),
]
def fulfilled_quantity(self):