From 8c84b7b8884746966b735a187d681c4253eef6ed Mon Sep 17 00:00:00 2001 From: deepeshgarg007 Date: Fri, 25 Jan 2019 16:44:45 +0530 Subject: [PATCH] fix: Doctype Name correction --- 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 f412506a7c..5855ac3bcd 100644 --- a/erpnext/accounts/party.py +++ b/erpnext/accounts/party.py @@ -163,7 +163,7 @@ def set_price_list(out, party, party_type, given_price_list, pos=None): if customer_price_list: price_list = customer_price_list else: - pos_price_list = frappe.get_value('Pos Profile', pos, 'selling_price_list') + pos_price_list = frappe.get_value('POS Profile', pos, 'selling_price_list') price_list = pos_price_list or given_price_list else: price_list = get_default_price_list(party) or given_price_list