From 2e05cc670d666b318ef53c86ee48c377752ad688 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 11 Mar 2022 01:04:29 +0100 Subject: [PATCH] fix definition --- InvenTree/order/models.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/InvenTree/order/models.py b/InvenTree/order/models.py index 4f594497bf..935f7e244d 100644 --- a/InvenTree/order/models.py +++ b/InvenTree/order/models.py @@ -882,6 +882,8 @@ class OrderAdditionalLineItem(OrderLineItem): class Meta: abstract = True + unique_together = [ + ] sale_price = InvenTreeModelMoneyField( max_digits=19, @@ -897,10 +899,6 @@ class OrderAdditionalLineItem(OrderLineItem): def sale_price_converted_currency(self): return currency_code_default() - class Meta: - unique_together = [ - ] - class PurchaseOrderLineItem(OrderLineItem): """ Model for a purchase order line item.