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