frappe/frappe#478, removed instances of .fields

This commit is contained in:
Rushabh Mehta
2014-03-31 23:37:40 +05:30
parent 231f6a5b58
commit f2227d033c
32 changed files with 61 additions and 63 deletions

View File

@@ -59,4 +59,4 @@ def make_maintenance_visit(source_name, target_doc=None):
}
}, target_doc)
return [d.fields for d in doclist]
return doclist.as_dict()

View File

@@ -295,4 +295,4 @@ def make_maintenance_visit(source_name, target_doc=None):
}
}, target_doc)
return [d.fields for d in doclist]
return doclist.as_dict()