This commit is contained in:
Oliver Walters 2022-04-22 00:24:25 +10:00
parent f504dfe797
commit 6dec8ba113

View File

@ -2703,7 +2703,6 @@ class BomItem(models.Model, DataImportMixin):
def get_api_url():
return reverse('api-bom-list')
def get_valid_parts_for_allocation(self, allow_variants=True, allow_substitutes=True):
"""
Return a list of valid parts which can be allocated against this BomItem: