frappe/frappe#478 removed more instances of doclist

This commit is contained in:
Rushabh Mehta
2014-04-03 12:38:42 +05:30
parent cfb6ccfe51
commit d36cb5c812
9 changed files with 82 additions and 87 deletions

View File

@@ -41,7 +41,7 @@ def _get_party_details(party=None, account=None, party_type="Customer", company=
out["sales_team"] = [{
"sales_person": d.sales_person,
"sales_designation": d.sales_designation
} for d in party_bean.doclist.get({"doctype":"Sales Team"})]
} for d in party_bean.get("sales_team")]
return out