Merge pull request #11768 from tundebabzy/issue-11749

add missing field and value parameters
This commit is contained in:
rohitwaghchaure 2017-11-29 11:22:20 +05:30 committed by GitHub
commit 4a15711b04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,7 +206,7 @@ erpnext.pos.PointOfSale = class PointOfSale {
select_batch_and_serial_no(item) {
erpnext.show_serial_batch_selector(this.frm, item, () => {
this.update_item_in_frm(item)
this.update_item_in_frm(item, 'qty', item.qty)
.then(() => {
// update cart
if (item.qty === 0) {