mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove lead-time field
This commit is contained in:
parent
62c9e85add
commit
91453094aa
@ -58,7 +58,7 @@ class EditSupplierPartForm(HelperForm):
|
|||||||
'base_cost',
|
'base_cost',
|
||||||
'multiple',
|
'multiple',
|
||||||
'packaging',
|
'packaging',
|
||||||
'lead_time'
|
# 'lead_time'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
# Generated by Django 2.2.5 on 2019-09-12 12:19
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('company', '0006_supplierpricebreak_currency'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='supplierpart',
|
||||||
|
name='lead_time',
|
||||||
|
),
|
||||||
|
]
|
@ -250,7 +250,8 @@ class SupplierPart(models.Model):
|
|||||||
|
|
||||||
multiple = models.PositiveIntegerField(default=1, validators=[MinValueValidator(1)], help_text='Order multiple')
|
multiple = models.PositiveIntegerField(default=1, validators=[MinValueValidator(1)], help_text='Order multiple')
|
||||||
|
|
||||||
lead_time = models.DurationField(blank=True, null=True)
|
# TODO - Reimplement lead-time as a charfield with special validation (pattern matching).
|
||||||
|
# lead_time = models.DurationField(blank=True, null=True)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def manufacturer_string(self):
|
def manufacturer_string(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user