mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove old 'manufacturer_name' field
This commit is contained in:
parent
c17c014b33
commit
9c7813992d
@ -53,14 +53,12 @@ class EditSupplierPartForm(HelperForm):
|
|||||||
'SKU',
|
'SKU',
|
||||||
'description',
|
'description',
|
||||||
'manufacturer',
|
'manufacturer',
|
||||||
'manufacturer_name',
|
|
||||||
'MPN',
|
'MPN',
|
||||||
'link',
|
'link',
|
||||||
'note',
|
'note',
|
||||||
'base_cost',
|
'base_cost',
|
||||||
'multiple',
|
'multiple',
|
||||||
'packaging',
|
'packaging',
|
||||||
# 'lead_time'
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 2.2.10 on 2020-04-13 10:24
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('company', '0020_auto_20200413_0839'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='supplierpart',
|
||||||
|
name='manufacturer_name',
|
||||||
|
),
|
||||||
|
]
|
@ -293,8 +293,6 @@ class SupplierPart(models.Model):
|
|||||||
null=True, blank=True
|
null=True, blank=True
|
||||||
)
|
)
|
||||||
|
|
||||||
manufacturer_name = models.CharField(max_length=100, blank=True, help_text=_('Manufacturer'))
|
|
||||||
|
|
||||||
MPN = models.CharField(max_length=100, blank=True, help_text=_('Manufacturer part number'))
|
MPN = models.CharField(max_length=100, blank=True, help_text=_('Manufacturer part number'))
|
||||||
|
|
||||||
link = InvenTreeURLField(blank=True, help_text=_('URL for external supplier part link'))
|
link = InvenTreeURLField(blank=True, help_text=_('URL for external supplier part link'))
|
||||||
|
Loading…
Reference in New Issue
Block a user