fix: correct mapping(schedule_date) sales order to material request

(cherry picked from commit 732e950265)
This commit is contained in:
MohsinAli
2025-03-29 11:03:24 +05:30
committed by Mergify
parent 0c6c654a39
commit e2c8ed2afd

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(