mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 04:59:18 +00:00
fix: Add shipping_address to no field map
This commit is contained in:
@@ -1609,6 +1609,7 @@ def make_inter_company_transaction(doctype, source_name, target_doc=None):
|
|||||||
target_doc.is_internal_supplier = 1
|
target_doc.is_internal_supplier = 1
|
||||||
target_doc.ignore_pricing_rule = 1
|
target_doc.ignore_pricing_rule = 1
|
||||||
target_doc.buying_price_list = source_doc.selling_price_list
|
target_doc.buying_price_list = source_doc.selling_price_list
|
||||||
|
target_doc.shipping_address = source_doc.customer_address
|
||||||
|
|
||||||
if currency:
|
if currency:
|
||||||
target_doc.currency = currency
|
target_doc.currency = currency
|
||||||
@@ -1653,7 +1654,8 @@ def make_inter_company_transaction(doctype, source_name, target_doc=None):
|
|||||||
"set_target_warehouse": "set_from_warehouse",
|
"set_target_warehouse": "set_from_warehouse",
|
||||||
"field_no_map": [
|
"field_no_map": [
|
||||||
"taxes_and_charges",
|
"taxes_and_charges",
|
||||||
"set_warehouse"
|
"set_warehouse",
|
||||||
|
"shipping_address"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
doctype +" Item": item_field_map
|
doctype +" Item": item_field_map
|
||||||
|
|||||||
Reference in New Issue
Block a user