From a86bb69adf6e78bcf29bc3f202c8f9c215745a40 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Thu, 30 Mar 2017 19:16:38 +0530 Subject: [PATCH 1/2] [fix] POS cart item's highlighted issue --- erpnext/accounts/page/pos/pos.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erpnext/accounts/page/pos/pos.js b/erpnext/accounts/page/pos/pos.js index fb89d7e452..75ffc501d2 100644 --- a/erpnext/accounts/page/pos/pos.js +++ b/erpnext/accounts/page/pos/pos.js @@ -1089,6 +1089,7 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({ // if form is local then allow this function // $(me.wrapper).find(".pos-item-wrapper").on("click", function () { $(this.wrapper).on("click", ".pos-item-wrapper", function () { + me.item_code = ''; if($(me.pos_bill).is(":hidden")) return; me.customer_validate(); @@ -1419,6 +1420,7 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({ }, make_new_cart: function (){ + this.item_code = ''; this.page.clear_secondary_action(); this.save_previous_entry(); this.create_new(); From 896fd1aca76727c959f80a3b3a9a26ab0b93b393 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 30 Mar 2017 20:05:51 +0600 Subject: [PATCH 2/2] bumped to version 8.0.1 --- erpnext/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/__init__.py b/erpnext/__init__.py index 26d85c04bb..4e2b6cb044 100644 --- a/erpnext/__init__.py +++ b/erpnext/__init__.py @@ -2,7 +2,7 @@ from __future__ import unicode_literals import frappe -__version__ = '8.0.0' +__version__ = '8.0.1' def get_default_company(user=None): '''Get default company for user'''