Browse Source

focus on barcode field after adding a row

develop
Nabin Hait 10 years ago
parent
commit
40431cbf89
  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