commit | d6bdad7adf2dd23225b5ddd028d0ab03dab1e734 | [log] [tgz] |
---|---|---|
author | Rushabh Mehta <rmehta@gmail.com> | Thu Aug 06 15:45:59 2015 +0530 |
committer | Rushabh Mehta <rmehta@gmail.com> | Thu Aug 06 15:46:42 2015 +0530 |
tree | 7ac50dd415ea6d481deab133563698a339776a16 | |
parent | 143f384986fff1ebde8f438d0237606270cc0ef9 [diff] |
[fix] [hot] total in time log batch
diff --git a/erpnext/projects/doctype/time_log_batch/time_log_batch.py b/erpnext/projects/doctype/time_log_batch/time_log_batch.py index eaccc8c..55d5937 100644 --- a/erpnext/projects/doctype/time_log_batch/time_log_batch.py +++ b/erpnext/projects/doctype/time_log_batch/time_log_batch.py
@@ -15,6 +15,8 @@ def validate(self): self.set_status() + self.total_hours = 0.0 + self.total_billing_amount = 0.0 for d in self.get("time_logs"): tl = frappe.get_doc("Time Log", d.time_log) self.update_time_log_values(d, tl)