From 1edbe82063adaa7ceba21eb46ba44198c7a8e5a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Dvo=C5=99=C3=A1k?= Date: Wed, 15 Nov 2023 03:33:17 +0100 Subject: [PATCH] Update production.py --- src/OpenIntranet/plugins/production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenIntranet/plugins/production.py b/src/OpenIntranet/plugins/production.py index 3b9e8c1..1273ab6 100644 --- a/src/OpenIntranet/plugins/production.py +++ b/src/OpenIntranet/plugins/production.py @@ -1129,7 +1129,7 @@ def make_comp_dict(self, element): "Value": element.findall('value')[0].text, "UST_ID": '', "stock_count": None, - "exclude_from_bom": any(prop.find("name").text == "exclude_from_bom" for prop in element.findall("property")), + # "exclude_from_bom": any(prop.find("name").text == "exclude_from_bom" for prop in element.findall("property")), "status": ComponentStatus.Actual.value }