diff --git a/erpnext/selling/doctype/quotation/quotation.py b/erpnext/selling/doctype/quotation/quotation.py index 8291f9f7228..0fe0f54bd2a 100644 --- a/erpnext/selling/doctype/quotation/quotation.py +++ b/erpnext/selling/doctype/quotation/quotation.py @@ -460,6 +460,8 @@ def _make_sales_order(source_name, target_doc=None, ignore_permissions=False, ar if automatically_fetch_payment_terms: mapping["Payment Schedule"] = {"doctype": "Payment Schedule", "add_if_empty": True} + else: + mapping["Quotation"]["field_no_map"] = ["payment_terms_template"] doclist = get_mapped_doc( "Quotation",