mirror of
https://github.com/inventree/InvenTree.git
synced 2026-05-01 23:34:41 +00:00
Merge pull request #1082 from jnewlands/typo_fix_external_link
Fix typo in new / edit part forms ("extenel URL")
This commit is contained in:
Binary file not shown.
+1411
-1378
File diff suppressed because it is too large
Load Diff
+1408
-1378
File diff suppressed because it is too large
Load Diff
+1408
-1378
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 3.0.7 on 2020-10-27 04:57
|
||||
|
||||
import InvenTree.fields
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('part', '0051_bomitem_optional'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='part',
|
||||
name='link',
|
||||
field=InvenTree.fields.InvenTreeURLField(blank=True, help_text='Link to external URL', null=True),
|
||||
),
|
||||
]
|
||||
@@ -562,7 +562,7 @@ class Part(MPTTModel):
|
||||
|
||||
revision = models.CharField(max_length=100, blank=True, null=True, help_text=_('Part revision or version number'))
|
||||
|
||||
link = InvenTreeURLField(blank=True, null=True, help_text=_('Link to extenal URL'))
|
||||
link = InvenTreeURLField(blank=True, null=True, help_text=_('Link to external URL'))
|
||||
|
||||
image = StdImageField(
|
||||
upload_to=rename_part_image,
|
||||
|
||||
@@ -510,7 +510,7 @@ class PartCreate(AjaxCreateView):
|
||||
model = Part
|
||||
form_class = part_forms.EditPartForm
|
||||
|
||||
ajax_form_title = _('Create new part')
|
||||
ajax_form_title = _('Create New Part')
|
||||
ajax_template_name = 'part/create_part.html'
|
||||
|
||||
role_required = 'part.add'
|
||||
|
||||
Reference in New Issue
Block a user