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) {
|
select_batch_and_serial_no(item) {
|
||||||
erpnext.show_serial_batch_selector(this.frm, 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(() => {
|
.then(() => {
|
||||||
// update cart
|
// update cart
|
||||||
if (item.qty === 0) {
|
if (item.qty === 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user