mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-02 17:24:36 +00:00
fix: map pick list customer to delivery note when no sales order
backport of #57412
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user