2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

UI tweaks

This commit is contained in:
Oliver
2018-04-16 22:23:29 +10:00
parent 118d045e50
commit b6b4189c49
4 changed files with 10 additions and 4 deletions

View File

@ -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