mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-19 23:05:12 +00:00
[enhance] Add Issue Type and Opportunity Type masters (#11598)
* [enhance] added & linked Issue Type & Opportunity Type with opportunity * [patch] create issue and opportunity type from the custom field if available * [minor] issue_type and opportunity type should be mandatory * [patches] removed try catch from the patch * [fix] patch * [refactor] cleanup issue/opportunity type
This commit is contained in:
@@ -20,7 +20,7 @@ def post_process(remote_doc=None, local_doc=None, **kwargs):
|
||||
opportunity = frappe.get_doc({
|
||||
'doctype': 'Opportunity',
|
||||
'naming_series': 'OPTY-',
|
||||
'enquiry_type': 'Sales',
|
||||
'opportunity_type': 'Hub',
|
||||
'enquiry_from': 'Lead',
|
||||
'status': 'Open',
|
||||
'lead': lead.name,
|
||||
|
||||
Reference in New Issue
Block a user