mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
Merge pull request #17469 from rohitwaghchaure/fixed_sales_order_issue_from_quotation
fix: not able to make sales order from quotation
This commit is contained in:
@@ -242,5 +242,5 @@ def _make_customer(source_name, ignore_permissions=False):
|
|||||||
frappe.throw(_("Please create Customer from Lead {0}").format(lead_name))
|
frappe.throw(_("Please create Customer from Lead {0}").format(lead_name))
|
||||||
else:
|
else:
|
||||||
return customer_name
|
return customer_name
|
||||||
else:
|
elif quotation and quotation[1]:
|
||||||
return frappe.get_doc("Customer",quotation[2])
|
return frappe.get_doc("Customer",quotation[1])
|
||||||
|
|||||||
Reference in New Issue
Block a user