From 43135036491991c1226da03af5b53ff15b13904f Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 15 Apr 2022 22:47:32 +1000 Subject: [PATCH] PEP fix --- InvenTree/part/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/part/models.py b/InvenTree/part/models.py index 3635f22587..01ea8c661b 100644 --- a/InvenTree/part/models.py +++ b/InvenTree/part/models.py @@ -2716,7 +2716,7 @@ class BomItem(models.Model, DataImportMixin): # Variant stock is not allowed for this BOM item if not self.allow_variants: return 0 - + # Extract a flattened list of part variants variants = self.sub_part.get_descendants(include_self=False)