mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 04:25:42 +00:00
UI tweaks
This commit is contained in:
@ -176,6 +176,10 @@ class StockItem(models.Model):
|
||||
part=self.part.name,
|
||||
loc=self.location.name)
|
||||
|
||||
@property
|
||||
def is_trackable(self):
|
||||
return self.part.trackable
|
||||
|
||||
|
||||
class StockItemTracking(models.Model):
|
||||
""" Stock tracking entry
|
||||
|
Reference in New Issue
Block a user