fix: map pick list customer to delivery note when no sales order

backport of #57412
This commit is contained in:
pandiyan
2026-07-24 11:12:15 +05:30
parent 2206e9fe2a
commit 3f6501b4ff

View File

@@ -1381,6 +1381,9 @@ def create_delivery_wo_so(pick_list, target, target_doc=None):
target_doc.company = pick_list.company
if not target_doc.customer:
target_doc.customer = pick_list.customer
item_table_mapper_without_so = {
"doctype": f"{target} Item",
"field_map": {