From a008d360afef0ca1a473336bfeb4592cb9e102af Mon Sep 17 00:00:00 2001 From: Oliver Date: Sun, 20 Nov 2022 21:54:52 +1100 Subject: [PATCH] Simple typo fix (#3968) --- InvenTree/part/migrations/0090_auto_20221115_0816.py | 2 +- InvenTree/part/models.py | 2 +- InvenTree/stock/migrations/0090_stocklocation_structural.py | 2 +- InvenTree/stock/models.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/InvenTree/part/migrations/0090_auto_20221115_0816.py b/InvenTree/part/migrations/0090_auto_20221115_0816.py index 4965f36d69..42ba282bf0 100644 --- a/InvenTree/part/migrations/0090_auto_20221115_0816.py +++ b/InvenTree/part/migrations/0090_auto_20221115_0816.py @@ -14,6 +14,6 @@ class Migration(migrations.Migration): migrations.AddField( model_name='partcategory', name='structural', - field=models.BooleanField(default=False, help_text="Parts may not be directly assigned to a structural category, but may be assigned to it's child categories.", verbose_name='Structural'), + field=models.BooleanField(default=False, help_text="Parts may not be directly assigned to a structural category, but may be assigned to child categories.", verbose_name='Structural'), ), ] diff --git a/InvenTree/part/models.py b/InvenTree/part/models.py index 6111696f71..51c9ec1461 100644 --- a/InvenTree/part/models.py +++ b/InvenTree/part/models.py @@ -122,7 +122,7 @@ class PartCategory(MetadataMixin, InvenTreeTree): verbose_name=_('Structural'), help_text=_( 'Parts may not be directly assigned to a structural category, ' - 'but may be assigned to it\'s child categories.'), + 'but may be assigned to child categories.'), ) default_keywords = models.CharField(null=True, blank=True, max_length=250, verbose_name=_('Default keywords'), help_text=_('Default keywords for parts in this category')) diff --git a/InvenTree/stock/migrations/0090_stocklocation_structural.py b/InvenTree/stock/migrations/0090_stocklocation_structural.py index e37312fef2..eca4617455 100644 --- a/InvenTree/stock/migrations/0090_stocklocation_structural.py +++ b/InvenTree/stock/migrations/0090_stocklocation_structural.py @@ -13,6 +13,6 @@ class Migration(migrations.Migration): migrations.AddField( model_name='stocklocation', name='structural', - field=models.BooleanField(default=False, help_text="Stock items may not be directly located into a structural stock locations, but may be located to it's child locations.", verbose_name='Structural'), + field=models.BooleanField(default=False, help_text="Stock items may not be directly located into a structural stock locations, but may be located to child locations.", verbose_name='Structural'), ), ] diff --git a/InvenTree/stock/models.py b/InvenTree/stock/models.py index 445a5cd90f..93ee99c951 100644 --- a/InvenTree/stock/models.py +++ b/InvenTree/stock/models.py @@ -112,7 +112,7 @@ class StockLocation(InvenTreeBarcodeMixin, MetadataMixin, InvenTreeTree): verbose_name=_('Structural'), help_text=_( 'Stock items may not be directly located into a structural stock locations, ' - 'but may be located to it\'s child locations.'), + 'but may be located to child locations.'), ) def get_location_owner(self):