Initial JS setup
This commit is contained in:
parent
78c0841d64
commit
c4c44a9a2b
12
erpnext/crm/doctype/opportunity/opportunity_calendar.js
Normal file
12
erpnext/crm/doctype/opportunity/opportunity_calendar.js
Normal 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'
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user