add missing field and value parameters
This commit is contained in:
parent
bc7c387a0d
commit
0d82b6979e
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user