2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-11-05 07:35:42 +00:00

extend part fields to fit large BOMs (#4475)

Fiexes https://github.com/inventree/InvenTree/issues/2819
This commit is contained in:
Matthias Mair
2023-03-08 23:35:12 +01:00
committed by GitHub
parent 2edb7f2b55
commit 93a2d612e2
2 changed files with 19 additions and 1 deletions

View File

@@ -3583,7 +3583,7 @@ class BomItem(DataImportMixin, models.Model):
help_text=_('Estimated build wastage quantity (absolute or percentage)')
)
reference = models.CharField(max_length=500, blank=True, verbose_name=_('Reference'), help_text=_('BOM item reference'))
reference = models.CharField(max_length=5000, blank=True, verbose_name=_('Reference'), help_text=_('BOM item reference'))
# Note attached to this BOM line item
note = models.CharField(max_length=500, blank=True, verbose_name=_('Note'), help_text=_('BOM item notes'))