mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 09:05:00 +00:00
Merge branch 'master' into develop
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user