fix: override field_map for job card gantt

This commit is contained in:
prssanna 2020-10-28 11:02:02 +05:30 committed by Shivam Mishra
parent 2cd41bca06
commit ec959bc3b9

View File

@ -8,7 +8,17 @@ frappe.views.calendar["Job Card"] = {
"allDay": "allDay",
"progress": "progress"
},
gantt: true,
gantt: {
field_map: {
"start": "started_time",
"end": "started_time",
"id": "name",
"title": "subject",
"color": "color",
"allDay": "allDay",
"progress": "progress"
}
},
filters: [
{
"fieldtype": "Link",