From 1f9a6febdd138a1a9b1b1651c8f21e8d14d4416d Mon Sep 17 00:00:00 2001 From: deepeshgarg007 Date: Fri, 25 Jan 2019 11:53:55 +0530 Subject: [PATCH] fix: Assign given price list if POS price list is not available --- erpnext/accounts/party.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/party.py b/erpnext/accounts/party.py index c0a44d1c02..f412506a7c 100644 --- a/erpnext/accounts/party.py +++ b/erpnext/accounts/party.py @@ -164,7 +164,7 @@ def set_price_list(out, party, party_type, given_price_list, pos=None): 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