mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fixing silly bug I introduced
This commit is contained in:
parent
5e8aab9137
commit
4a26f274af
@ -1403,7 +1403,7 @@ class Part(MPTTModel):
|
||||
|
||||
parts = set()
|
||||
|
||||
for bom_item in self.get_bom_items.all(include_inherited=include_inherited):
|
||||
for bom_item in self.get_bom_items(include_inherited=include_inherited):
|
||||
|
||||
if include_variants and bom_item.allow_variants:
|
||||
for part in bom_item.sub_part.get_descendants(include_self=True):
|
||||
|
Loading…
Reference in New Issue
Block a user