mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Improve translation source text (#4254)
* Improve translation source text * Add migration file for translation
This commit is contained in:
parent
c838bddc19
commit
26f71b3fac
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="",
|
max_length=20, default="",
|
||||||
blank=True, null=True,
|
blank=True, null=True,
|
||||||
verbose_name=_('Units'),
|
verbose_name=_('Units'),
|
||||||
help_text=_('Stock keeping units for this part')
|
help_text=_('Units of measure for this part')
|
||||||
)
|
)
|
||||||
|
|
||||||
assembly = models.BooleanField(
|
assembly = models.BooleanField(
|
||||||
|
Loading…
Reference in New Issue
Block a user