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

@@ -21,7 +21,7 @@ class TimeLogBatch(Document):
self.total_hours += float(tl.hours or 0.0)
def update_time_log_values(self, d, tl):
d.fields.update({
d.update({
"hours": tl.hours,
"activity_type": tl.activity_type,
"created_by": tl.owner