Skip to content

Commit

Permalink
bug fix: subcontracting should respect the supplier min_qty rather th…
Browse files Browse the repository at this point in the history
…an the subcontracting bom min_qty
  • Loading branch information
jdetaeye committed Aug 14, 2024
1 parent 5ec9579 commit 94a7ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frepple/controllers/outbound.py
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@ def export_boms(self):
)
if not producedQty:
producedQty = 1
if producedQty != 1:
if producedQty != 1 and not subcontractor:
yield "<size_minimum>%s</size_minimum>\n" % producedQty
yield "<flows>\n"

Expand Down

0 comments on commit 94a7ecd

Please sign in to comment.