fix: Doctype Name correction

This commit is contained in:
deepeshgarg007 2019-01-25 16:44:45 +05:30
parent 1f9a6febdd
commit 8c84b7b888

View File

@ -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