2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-06 05:30:56 +00:00

Allow stock items to be created for template parts

This commit is contained in:
Oliver Walters
2020-05-25 14:20:35 +10:00
parent fdf57891fc
commit 0d052334e2
2 changed files with 20 additions and 1 deletions

View File

@ -331,7 +331,6 @@ class StockItem(MPTTModel):
verbose_name=_('Base Part'),
related_name='stock_items', help_text=_('Base part'),
limit_choices_to={
'is_template': False,
'active': True,
'virtual': False
})