fix: Fixes related to customer/lead merging (#18075)

This commit is contained in:
Nabin Hait
2019-06-28 12:36:27 +05:30
committed by GitHub
parent 42e62bd1b4
commit b059c6f630
7 changed files with 26 additions and 12 deletions

View File

@@ -34,7 +34,7 @@ def make_opportunity(items, customer):
b = frappe.get_doc({
"doctype": "Opportunity",
"opportunity_from": "Customer",
"customer": customer,
"party_name": customer,
"opportunity_type": _("Sales"),
"with_items": 1
})