mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
parent
ae4c4242dd
commit
a7728d31ab
@ -342,8 +342,9 @@ class LineItemPricing(PartPricing):
|
|||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
if id:
|
if part and id:
|
||||||
return part.id
|
return part.id
|
||||||
|
|
||||||
return part
|
return part
|
||||||
|
|
||||||
def get_so(self, pk=False):
|
def get_so(self, pk=False):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user