mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	Improve translation source text (#4254)
* Improve translation source text * Add migration file for translation
This commit is contained in:
		
							
								
								
									
										18
									
								
								InvenTree/part/migrations/0094_alter_part_units.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								InvenTree/part/migrations/0094_alter_part_units.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
# Generated by Django 3.2.16 on 2023-01-25 02:06
 | 
			
		||||
 | 
			
		||||
from django.db import migrations, models
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Migration(migrations.Migration):
 | 
			
		||||
 | 
			
		||||
    dependencies = [
 | 
			
		||||
        ('part', '0093_auto_20230115_1404'),
 | 
			
		||||
    ]
 | 
			
		||||
 | 
			
		||||
    operations = [
 | 
			
		||||
        migrations.AlterField(
 | 
			
		||||
            model_name='part',
 | 
			
		||||
            name='units',
 | 
			
		||||
            field=models.CharField(blank=True, default='', help_text='Units of measure for this part', max_length=20, null=True, verbose_name='Units'),
 | 
			
		||||
        ),
 | 
			
		||||
    ]
 | 
			
		||||
@@ -950,7 +950,7 @@ class Part(InvenTreeBarcodeMixin, MetadataMixin, MPTTModel):
 | 
			
		||||
        max_length=20, default="",
 | 
			
		||||
        blank=True, null=True,
 | 
			
		||||
        verbose_name=_('Units'),
 | 
			
		||||
        help_text=_('Stock keeping units for this part')
 | 
			
		||||
        help_text=_('Units of measure for this part')
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
    assembly = models.BooleanField(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user