2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-10 23:14:13 +00:00

Adde 'system' Field to StockItemTracking

This commit is contained in:
Oliver
2018-04-18 08:44:08 +10:00
parent a4621295a6
commit f1357cfb7c
2 changed files with 23 additions and 0 deletions

View File

@ -215,6 +215,9 @@ class StockItemTracking(models.Model):
# Which user created this tracking entry?
user = models.ForeignKey(User, on_delete=models.SET_NULL, blank=True, null=True)
# Was this tracking note auto-generated by the system?
system = models.BooleanField(default=False)
# TODO
# image = models.ImageField(upload_to=func, max_length=255, null=True, blank=True)