mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 10:05:39 +00:00
Added stock status field
This commit is contained in:
@ -45,7 +45,7 @@ class Part(models.Model):
|
||||
return self.stockitem_set.all()
|
||||
|
||||
@property
|
||||
def quantity(self):
|
||||
def stock(self):
|
||||
""" Return the total stock quantity for this part.
|
||||
Part may be stored in multiple locations
|
||||
"""
|
||||
|
Reference in New Issue
Block a user