Browse Source

Merge pull request #2537 from nabinhait/fix1

focus on barcode field after adding a row
develop
Nabin Hait 10 years ago
parent
commit
35f81b24f1
  1. 2
      erpnext/accounts/doctype/sales_invoice/pos.js

2
erpnext/accounts/doctype/sales_invoice/pos.js

@ -492,7 +492,7 @@ erpnext.POS = Class.extend({
});
me.refresh_delete_btn();
if(me.frm.doc[this.party]) {
if(me.frm.doc[this.party.toLowerCase()]) {
this.barcode.$input.focus();
} else {
this.party_field.$input.focus();

Loading…
Cancel
Save