Merge branch 'hotfix'
This commit is contained in:
commit
38fae6a240
@ -2,7 +2,7 @@
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
__version__ = '8.0.41'
|
||||
__version__ = '8.0.42'
|
||||
|
||||
|
||||
def get_default_company(user=None):
|
||||
|
@ -54,7 +54,7 @@ frappe.ui.form.on("Opportunity", {
|
||||
frm.add_custom_button(__('Lost'),
|
||||
cur_frm.cscript['Declare Opportunity Lost']);
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
if(!frm.doc.__islocal && frm.perm[0].write && frm.doc.docstatus==0) {
|
||||
if(frm.doc.status==="Open") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user