Hello, community,
I have new doctype called Planning
And make planning_calendar.js
file to start working on charts, but after refreshing the record is shoed with wrong and fixed dates!
This is my code:-
frappe.views.calendar["Planning"] = {
field_map: {
"start": "start_date",
"end": "end_date",
"id": "name",
"title": "subject",
"allDay": "allDay"
},
gantt: true,
filters: [
{
"fieldtype": "Link",
"fieldname": "project",
"options": "Project",
"label": __("Project")
}
],
get_events_method: "erpnext.projects.doctype.planning.planning.get_events"
}
This is how it shows:-