From 26044f436a4f36d0573c4bb10c6cd4f8e79857f8 Mon Sep 17 00:00:00 2001 From: mbauskar Date: Tue, 30 May 2017 22:28:08 +0530 Subject: [PATCH 1/2] [minor] fixed a unexpected token error for opportunity --- erpnext/crm/doctype/opportunity/opportunity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/crm/doctype/opportunity/opportunity.js b/erpnext/crm/doctype/opportunity/opportunity.js index 0e14c85b2c..96d6ac5d99 100644 --- a/erpnext/crm/doctype/opportunity/opportunity.js +++ b/erpnext/crm/doctype/opportunity/opportunity.js @@ -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") { From f2c374f524ddb781715cdd89f1af98e5d7f038e4 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 30 May 2017 23:22:38 +0600 Subject: [PATCH 2/2] bumped to version 8.0.42 --- erpnext/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/__init__.py b/erpnext/__init__.py index 641b9b6f00..e6f65d0bb2 100644 --- a/erpnext/__init__.py +++ b/erpnext/__init__.py @@ -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):