Merge branch 'develop' into fix-depr-after-sale

This commit is contained in:
Saqib 2021-10-28 12:04:07 +05:30 committed by GitHub
commit cc7a21eafa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -314,6 +314,8 @@ def make_request_for_quotation(source_name, target_doc=None):
@frappe.whitelist()
def make_customer(source_name, target_doc=None):
def set_missing_values(source, target):
target.opportunity_name = source.name
if source.opportunity_from == "Lead":
target.lead_name = source.party_name