2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-23 23:30:54 +00:00

Merge pull request from jnewlands/typo_fix_external_link

Fix typo in new / edit part forms ("extenel URL")
This commit is contained in:
Oliver
2020-10-27 16:43:14 +11:00
committed by GitHub
7 changed files with 4248 additions and 4136 deletions
InvenTree
locale
de
en
LC_MESSAGES
es
LC_MESSAGES
part

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

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'