fix: Add bundle items to PO only if the Product Bundle was selected from the SO
This commit is contained in:
parent
e7eef9601d
commit
406278b5c1
@ -925,6 +925,7 @@ def make_purchase_order(source_name, selected_items=None, target_doc=None):
|
||||
"supplier",
|
||||
"pricing_rules"
|
||||
],
|
||||
"condition": lambda doc: doc.parent_item in items_to_map
|
||||
}
|
||||
}, target_doc, set_missing_values)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user