fix: address not found when creating internal PR from DN

(cherry picked from commit 97c48ed6d2)
This commit is contained in:
Mihir Kandoi
2025-07-07 15:01:31 +05:30
committed by Mergify
parent 8638654c13
commit f1621d15ff

View File

@@ -1281,6 +1281,7 @@ def make_inter_company_transaction(doctype, source_name, target_doc=None):
"doctype": target_doctype,
"postprocess": update_details,
"field_no_map": ["taxes_and_charges", "set_warehouse"],
"field_map": {"shipping_address_name": "shipping_address"},
},
doctype + " Item": {
"doctype": target_doctype + " Item",