Skip to content

Commit

Permalink
Update pos_controller.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bvisible authored Oct 30, 2023
1 parent 5cacc68 commit b63b926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext/selling/page/point_of_sale/pos_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ erpnext.PointOfSale.Controller = class {
value,
item: this.item_details.current_item
};
return this.on_cart_update(args);
return this.on_cart_update(args, true); //// added true
}

return Promise.resolve();
Expand Down Expand Up @@ -872,7 +872,7 @@ erpnext.PointOfSale.Controller = class {
this.page.set_indicator(this.pos_profile, "blue");
}

async on_cart_update(args) {
async on_cart_update(args, updated=false) { //// added , updated=false
frappe.dom.freeze();
let item_row = undefined;
try {
Expand Down

0 comments on commit b63b926

Please sign in to comment.