mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fixed text for parent categories checkbox
This commit is contained in:
parent
279d5a00ce
commit
4e157fe956
@ -212,7 +212,7 @@ class EditPartForm(HelperForm):
|
|||||||
|
|
||||||
parent_category_templates = forms.BooleanField(required=False,
|
parent_category_templates = forms.BooleanField(required=False,
|
||||||
initial=False,
|
initial=False,
|
||||||
label=_('Include parent category parameter templates'),
|
label=_('Include parent categories parameter templates'),
|
||||||
widget=forms.HiddenInput())
|
widget=forms.HiddenInput())
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
@ -46,6 +46,7 @@ class TestParams(TestCase):
|
|||||||
t3.full_clean()
|
t3.full_clean()
|
||||||
t3.save()
|
t3.save()
|
||||||
|
|
||||||
|
# Category templates
|
||||||
n = PartCategoryParameterTemplate.objects.all().count()
|
n = PartCategoryParameterTemplate.objects.all().count()
|
||||||
self.assertEqual(n, 2)
|
self.assertEqual(n, 2)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user