mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +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.
										
									
								
							
										
											
												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
											
										
									
								
							
							
								
								
									
										19
									
								
								InvenTree/part/migrations/0052_auto_20201027_1557.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								InvenTree/part/migrations/0052_auto_20201027_1557.py
									
									
									
									
									
										Normal file
									
								
							| @@ -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