From ae07f22d8b6d0df8bb4ef51225c6c7c41dabbfcc Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 2 Jun 2017 13:57:08 +0530 Subject: [PATCH 1/2] Fixed syntax error --- erpnext/public/js/controllers/transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index 6357a52102..6206b286da 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -979,7 +979,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({ var valid = true; $.each(["company", "customer"], function(i, fieldname) { - if(frappe.meta.has_field(me.frm.doc.doctype, fieldname && me.frm.doc.doctype != "Purchase Order")) { + if(frappe.meta.has_field(me.frm.doc.doctype, fieldname) && me.frm.doc.doctype != "Purchase Order") { if (!me.frm.doc[fieldname]) { msgprint(__("Please specify") + ": " + frappe.meta.get_label(me.frm.doc.doctype, fieldname, me.frm.doc.name) + From 52e443cfc8fb76f5fea6d3926a4ca9825729c23a Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 2 Jun 2017 14:35:53 +0600 Subject: [PATCH 2/2] bumped to version 8.0.44 --- erpnext/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/__init__.py b/erpnext/__init__.py index 915d97bb4f..f93c9679b7 100644 --- a/erpnext/__init__.py +++ b/erpnext/__init__.py @@ -2,7 +2,7 @@ from __future__ import unicode_literals import frappe -__version__ = '8.0.43' +__version__ = '8.0.44' def get_default_company(user=None):