mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-03 04:00:57 +00:00
Fix for bug b)
- Don't attempt to save if there are duplicates - Fix overwritten variable name - Provide correct return data to the form
This commit is contained in:
@ -360,7 +360,7 @@ class StockItem(models.Model):
|
||||
choices=StockStatus.items(),
|
||||
validators=[MinValueValidator(0)])
|
||||
|
||||
notes = MarkdownxField(blank=True, help_text=_('Stock Item Notes'))
|
||||
notes = MarkdownxField(blank=True, null=True, help_text=_('Stock Item Notes'))
|
||||
|
||||
# If stock item is incoming, an (optional) ETA field
|
||||
# expected_arrival = models.DateField(null=True, blank=True)
|
||||
|
Reference in New Issue
Block a user