diff --git a/InvenTree/part/forms.py b/InvenTree/part/forms.py index 47b7ac21bc..cb4691e05b 100644 --- a/InvenTree/part/forms.py +++ b/InvenTree/part/forms.py @@ -212,7 +212,7 @@ class EditPartForm(HelperForm): parent_category_templates = forms.BooleanField(required=False, initial=False, - label=_('Include parent category parameter templates'), + label=_('Include parent categories parameter templates'), widget=forms.HiddenInput()) class Meta: diff --git a/InvenTree/part/test_param.py b/InvenTree/part/test_param.py index ad0f5ed3b6..66b2bf303c 100644 --- a/InvenTree/part/test_param.py +++ b/InvenTree/part/test_param.py @@ -46,6 +46,7 @@ class TestParams(TestCase): t3.full_clean() t3.save() + # Category templates n = PartCategoryParameterTemplate.objects.all().count() self.assertEqual(n, 2)