2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 10:35:40 +00:00

Add regex IPN filter for Part API

This commit is contained in:
Oliver
2021-07-08 17:02:45 +10:00
parent 800cb9606a
commit 376428b80b
3 changed files with 109 additions and 43 deletions

View File

@ -692,7 +692,6 @@ class Part(MPTTModel):
null=True, blank=True,
limit_choices_to={
'is_template': True,
'active': True,
},
on_delete=models.SET_NULL,
help_text=_('Is this part a variant of another part?'),