Merge pull request #11768 from tundebabzy/issue-11749
add missing field and value parameters
diff --git a/erpnext/selling/page/point_of_sale/point_of_sale.js b/erpnext/selling/page/point_of_sale/point_of_sale.js
index 0a70bb9..ee64e65 100644
--- a/erpnext/selling/page/point_of_sale/point_of_sale.js
+++ b/erpnext/selling/page/point_of_sale/point_of_sale.js
@@ -206,7 +206,7 @@
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) {