mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-29 09:01:14 +02: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))
|
||||
else:
|
||||
return customer_name
|
||||
else:
|
||||
return frappe.get_doc("Customer",quotation[2])
|
||||
elif quotation and quotation[1]:
|
||||
return frappe.get_doc("Customer",quotation[1])
|
||||
|
||||
Reference in New Issue
Block a user