mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-20 15:05:12 +00:00
Allow null values for StockItem.updated
- Just to make the tests run better
This commit is contained in:
1 parent
9e745d3e5f
commit
25e41b3fa2
2 files changed
+19
-1
No files matched your search
@@ -211,7 +211,7 @@ class StockItem(models.Model):
|
||||
|
||||
quantity = models.PositiveIntegerField(validators=[MinValueValidator(0)], default=1)
|
||||
|
||||
updated = models.DateField(auto_now=True)
|
||||
updated = models.DateField(auto_now=True, null=True)
|
||||
|
||||
# last time the stock was checked / counted
|
||||
stocktake_date = models.DateField(blank=True, null=True)
|
||||
|
||||
Reference in new issue
Block a user