mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Added extra fields to stock item
This commit is contained in:
parent
9db1f99e26
commit
6e0a02a885
@ -18,6 +18,11 @@ class StockItem(models.Model):
|
|||||||
quantity = models.PositiveIntegerField()
|
quantity = models.PositiveIntegerField()
|
||||||
updated = models.DateField(auto_now=True)
|
updated = models.DateField(auto_now=True)
|
||||||
|
|
||||||
|
# last time the stock was checked / counted
|
||||||
|
last_checked = models.DateField(blank=True, null=True)
|
||||||
|
|
||||||
|
review_needed = models.BooleanField(default=False)
|
||||||
|
|
||||||
# Stock status types
|
# Stock status types
|
||||||
ITEM_IN_STOCK = 10
|
ITEM_IN_STOCK = 10
|
||||||
ITEM_INCOMING = 15
|
ITEM_INCOMING = 15
|
||||||
|
Loading…
x
Reference in New Issue
Block a user