[minor] fixed a unexpected token error for opportunity
This commit is contained in:
parent
f6c396f176
commit
26044f436a
@ -54,7 +54,7 @@ frappe.ui.form.on("Opportunity", {
|
|||||||
frm.add_custom_button(__('Lost'),
|
frm.add_custom_button(__('Lost'),
|
||||||
cur_frm.cscript['Declare Opportunity Lost']);
|
cur_frm.cscript['Declare Opportunity Lost']);
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
|
|
||||||
if(!frm.doc.__islocal && frm.perm[0].write && frm.doc.docstatus==0) {
|
if(!frm.doc.__islocal && frm.perm[0].write && frm.doc.docstatus==0) {
|
||||||
if(frm.doc.status==="Open") {
|
if(frm.doc.status==="Open") {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user