fix: load customer default price list in pos during item selection (backport #44991) (#44992)

fix: load customer default price list in pos during item selection (#44991)

fix: load customer default price list in pos
(cherry picked from commit d1ae0d784e)

Co-authored-by: Diptanil Saha <diptanil.dev@gmail.com>
This commit is contained in:
mergify[bot]
2024-12-31 12:52:36 +05:30
committed by GitHub
parent a0063b31c2
commit 0f687f1db7

View File

@@ -284,6 +284,7 @@ erpnext.PointOfSale.Controller = class {
edit_cart: () => this.payment.edit_cart(),
customer_details_updated: (details) => {
this.item_selector.load_items_data();
this.customer_details = details;
// will add/remove LP payment method
this.payment.render_loyalty_points_payment_mode();