mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
fix: not able to declare opportunity lost without competitors (#29531)
This commit is contained in:
@@ -499,7 +499,7 @@ frappe.ui.form.on(cur_frm.doctype, {
|
||||
method: 'declare_enquiry_lost',
|
||||
args: {
|
||||
'lost_reasons_list': values.lost_reason,
|
||||
'competitors': values.competitors,
|
||||
'competitors': values.competitors ? values.competitors : [],
|
||||
'detailed_reason': values.detailed_reason
|
||||
},
|
||||
callback: function(r) {
|
||||
|
||||
Reference in New Issue
Block a user