Gantt view fix for translations

This commit is contained in:
Nabin Hait 2014-09-19 11:18:10 +05:30
parent 48f5fa69f3
commit 70a31d5402

View File

@ -6,17 +6,17 @@ frappe.views.calendar["Task"] = {
"start": "exp_start_date", "start": "exp_start_date",
"end": "exp_end_date", "end": "exp_end_date",
"id": "name", "id": "name",
"title": __("subject"), "title": "subject",
"allDay": "allDay" "allDay": "allDay"
}, },
gantt: true, gantt: true,
filters: [ filters: [
{ {
"fieldtype": "Link", "fieldtype": "Link",
"fieldname": "project", "fieldname": "project",
"options": "Project", "options": "Project",
"label": __("Project") "label": __("Project")
} }
], ],
get_events_method: "erpnext.projects.doctype.task.task.get_events" get_events_method: "erpnext.projects.doctype.task.task.get_events"
} }