mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Attachment comment field is optional
This commit is contained in:
parent
a0e1645ca1
commit
cedf9a9108
@ -56,7 +56,7 @@ class InvenTreeAttachment(models.Model):
|
||||
attachment = models.FileField(upload_to=rename_attachment,
|
||||
help_text=_('Select file to attach'))
|
||||
|
||||
comment = models.CharField(max_length=100, help_text=_('File comment'))
|
||||
comment = models.CharField(blank=True, max_length=100, help_text=_('File comment'))
|
||||
|
||||
user = models.ForeignKey(
|
||||
User,
|
||||
|
Loading…
Reference in New Issue
Block a user