2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-05 13:10:57 +00:00

Remove "required" attribute for order descriptions (#4595)

* Made the description field on the part model optional

* Made the title field on the build model optional

* Made the description field on the order model optional

* Added migration files
This commit is contained in:
Stan Dekker
2023-04-15 00:34:01 +02:00
committed by GitHub
parent b062accfe2
commit 713aec1ae3
6 changed files with 69 additions and 5 deletions

View File

@ -856,9 +856,9 @@ class Part(InvenTreeBarcodeMixin, MetadataMixin, MPTTModel):
)
description = models.CharField(
max_length=250, blank=False,
max_length=250, blank=True,
verbose_name=_('Description'),
help_text=_('Part description')
help_text=_('Part description (optional)')
)
keywords = models.CharField(