mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix definition
This commit is contained in:
parent
c6383e9f7e
commit
2e05cc670d
@ -882,6 +882,8 @@ class OrderAdditionalLineItem(OrderLineItem):
|
|||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
abstract = True
|
abstract = True
|
||||||
|
unique_together = [
|
||||||
|
]
|
||||||
|
|
||||||
sale_price = InvenTreeModelMoneyField(
|
sale_price = InvenTreeModelMoneyField(
|
||||||
max_digits=19,
|
max_digits=19,
|
||||||
@ -897,10 +899,6 @@ class OrderAdditionalLineItem(OrderLineItem):
|
|||||||
def sale_price_converted_currency(self):
|
def sale_price_converted_currency(self):
|
||||||
return currency_code_default()
|
return currency_code_default()
|
||||||
|
|
||||||
class Meta:
|
|
||||||
unique_together = [
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
class PurchaseOrderLineItem(OrderLineItem):
|
class PurchaseOrderLineItem(OrderLineItem):
|
||||||
""" Model for a purchase order line item.
|
""" Model for a purchase order line item.
|
||||||
|
Loading…
Reference in New Issue
Block a user