fix in time log batch list

This commit is contained in:
Neil Trini Lasrado 2015-04-17 16:04:57 +05:30
parent da8c6f6ae2
commit e1951306eb
2 changed files with 1 additions and 2 deletions

View File

@ -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",

View File

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