mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-07 10:51:17 +00:00
Tweak the 'on_order' calculation
This commit is contained in:
1 parent
351c5fb7d0
commit
9efdd836f4
2 files changed
+2
-2
No files matched your search
@@ -327,7 +327,7 @@ class SupplierPart(models.Model):
|
||||
if q is None or r is None:
|
||||
return 0
|
||||
else:
|
||||
return q - r
|
||||
return max(q-r, 0)
|
||||
|
||||
|
||||
def purchase_orders(self):
|
||||
|
||||
Reference in new issue
Block a user