mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-18 12:39:18 +00:00
frappe/frappe#478, removed instances of .fields
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user