Merge pull request #46889 from frappe/mergify/bp/version-15-hotfix/pr-46784

fix: correct mapping(schedule_date) sales order to material request (backport #46784)
This commit is contained in:
ruthra kumar
2025-04-07 11:03:43 +05:30
committed by GitHub

View File

@@ -875,7 +875,7 @@ def make_material_request(source_name, target_doc=None):
"field_map": {
"name": "sales_order_item",
"parent": "sales_order",
"delivery_date": "required_by",
"delivery_date": "schedule_date",
"bom_no": "bom_no",
},
"condition": lambda item: not frappe.db.exists(