From 94a7ecde9f2617630bf24fb6b781b4547eb33d32 Mon Sep 17 00:00:00 2001 From: Johan De Taeye Date: Wed, 14 Aug 2024 10:25:04 +0200 Subject: [PATCH] bug fix: subcontracting should respect the supplier min_qty rather than the subcontracting bom min_qty --- frepple/controllers/outbound.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frepple/controllers/outbound.py b/frepple/controllers/outbound.py index 253731d..70a3adb 100644 --- a/frepple/controllers/outbound.py +++ b/frepple/controllers/outbound.py @@ -1500,7 +1500,7 @@ def export_boms(self): ) if not producedQty: producedQty = 1 - if producedQty != 1: + if producedQty != 1 and not subcontractor: yield "%s\n" % producedQty yield "\n"