mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
extend part fields to fit large BOMs (#4475)
Fiexes https://github.com/inventree/InvenTree/issues/2819
This commit is contained in:
parent
2edb7f2b55
commit
93a2d612e2
18
InvenTree/part/migrations/0100_alter_bomitem_reference.py
Normal file
18
InvenTree/part/migrations/0100_alter_bomitem_reference.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 3.2.18 on 2023-03-08 21:00
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('part', '0099_alter_bomitem_inherited'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='bomitem',
|
||||||
|
name='reference',
|
||||||
|
field=models.CharField(blank=True, help_text='BOM item reference', max_length=5000, verbose_name='Reference'),
|
||||||
|
),
|
||||||
|
]
|
@ -3583,7 +3583,7 @@ class BomItem(DataImportMixin, models.Model):
|
|||||||
help_text=_('Estimated build wastage quantity (absolute or percentage)')
|
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 attached to this BOM line item
|
||||||
note = models.CharField(max_length=500, blank=True, verbose_name=_('Note'), help_text=_('BOM item notes'))
|
note = models.CharField(max_length=500, blank=True, verbose_name=_('Note'), help_text=_('BOM item notes'))
|
||||||
|
Loading…
Reference in New Issue
Block a user