2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-14 00:09:56 +00:00

Part attachment comment field is required

This commit is contained in:
Oliver Walters
2019-05-18 16:20:48 +10:00
parent a2dbdfe794
commit 613c96e093
2 changed files with 19 additions and 1 deletions

View File

@@ -644,7 +644,7 @@ class PartAttachment(models.Model):
attachment = models.FileField(upload_to=attach_file, null=True, blank=True,
help_text='Select file to attach')
comment = models.CharField(max_length=100, blank=True, help_text='File comment')
comment = models.CharField(max_length=100, help_text='File comment')
@property
def basename(self):