Initial JS setup

This commit is contained in:
Anupam K 2020-04-15 12:58:24 +05:30
parent 78c0841d64
commit c4c44a9a2b

View File

@ -0,0 +1,12 @@
// Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
frappe.views.calendar["Opportunity"] = {
field_map: {
"start": "contact_date",
"end": "contact_date",
"id": "name",
"title": "customer_name",
"allDay": "allDay"
},
get_events_method: 'frappe.desk.doctype.event.event.get_events'
}