mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 03:30:54 +00:00
Allow null values for StockItem.updated
- Just to make the tests run better
This commit is contained in:
@ -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