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]; }