mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 18:31:16 +00:00
1 parent
ae4c4242dd
commit
a7728d31ab
1 file changed
+2
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user