[hotfix] get_price_list_rate

This commit is contained in:
Anand Doshi 2016-01-21 22:28:47 +05:30
parent 39ac535bdb
commit 54abf025b7

View File

@ -200,7 +200,7 @@ def get_default_cost_center(args, item):
or args.get("cost_center"))
def get_price_list_rate(args, item_doc, out):
meta = frappe.get_meta(args.parenttype)
meta = frappe.get_meta(args.doctype)
if meta.get_field("currency"):
validate_price_list(args)