Compare commits

..

4 Commits

Author SHA1 Message Date
Nabin Hait
a8b2cdf65a Merge branch 'hotfix' 2017-03-30 19:35:51 +05:30
Nabin Hait
896fd1aca7 bumped to version 8.0.1 2017-03-30 20:05:51 +06:00
Nabin Hait
e503f68ec7 Merge pull request #8229 from rohitwaghchaure/pos_highlight_issue
[fix] POS cart item's highlighted issue
2017-03-30 19:26:33 +05:30
Rohit Waghchaure
a86bb69adf [fix] POS cart item's highlighted issue 2017-03-30 19:16:38 +05:30
2 changed files with 3 additions and 1 deletions

View File

@@ -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'''

View File

@@ -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();