fix: Assign given price list if POS price list is not available
diff --git a/erpnext/accounts/party.py b/erpnext/accounts/party.py
index c0a44d1..f412506 100644
--- a/erpnext/accounts/party.py
+++ b/erpnext/accounts/party.py
@@ -164,7 +164,7 @@
price_list = customer_price_list
else:
pos_price_list = frappe.get_value('Pos Profile', pos, 'selling_price_list')
- price_list = pos_price_list
+ price_list = pos_price_list or given_price_list
else:
price_list = get_default_price_list(party) or given_price_list