From e1951306eb2c4cd387eeb3ba4d62376c13da64be Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Fri, 17 Apr 2015 16:04:57 +0530 Subject: [PATCH] fix in time log batch list --- erpnext/projects/doctype/time_log_batch/test_time_log_batch.py | 1 - erpnext/projects/doctype/time_log_batch/time_log_batch_list.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/erpnext/projects/doctype/time_log_batch/test_time_log_batch.py b/erpnext/projects/doctype/time_log_batch/test_time_log_batch.py index 240ca97926c..faa0a601e3c 100644 --- a/erpnext/projects/doctype/time_log_batch/test_time_log_batch.py +++ b/erpnext/projects/doctype/time_log_batch/test_time_log_batch.py @@ -44,7 +44,6 @@ def create_time_log(): def create_time_log_batch(time_log): tlb = frappe.get_doc({ "doctype": "Time Log Batch", - "rate": "500", "time_logs": [ { "doctype": "Time Log Batch Detail", diff --git a/erpnext/projects/doctype/time_log_batch/time_log_batch_list.js b/erpnext/projects/doctype/time_log_batch/time_log_batch_list.js index f4876b8b263..9c02ac38a93 100644 --- a/erpnext/projects/doctype/time_log_batch/time_log_batch_list.js +++ b/erpnext/projects/doctype/time_log_batch/time_log_batch_list.js @@ -1,5 +1,5 @@ frappe.listview_settings['Time Log Batch'] = { - add_fields: ["status", "total_hours", "rate"], + add_fields: ["status", "total_hours"], get_indicator: function(doc) { return [__(doc.status), frappe.utils.guess_colour(doc.status), "status,=," + doc.status]; }