Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
153 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,4 @@ frappe.ui.form.ControlData = frappe.ui.form.ControlData.extend( { | |
}); | ||
} | ||
} | ||
}); | ||
}); |
Empty file.
10 changes: 10 additions & 0 deletions
10
erpnext/telephony/doctype/voice_call_settings/test_voice_call_settings.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors | ||
# See license.txt | ||
from __future__ import unicode_literals | ||
|
||
# import frappe | ||
import unittest | ||
|
||
class TestVoiceCallSettings(unittest.TestCase): | ||
pass |
8 changes: 8 additions & 0 deletions
8
erpnext/telephony/doctype/voice_call_settings/voice_call_settings.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors | ||
// For license information, please see license.txt | ||
|
||
frappe.ui.form.on('Voice Call Settings', { | ||
// refresh: function(frm) { | ||
|
||
// } | ||
}); |
124 changes: 124 additions & 0 deletions
124
erpnext/telephony/doctype/voice_call_settings/voice_call_settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
{ | ||
"actions": [], | ||
"autoname": "field:user", | ||
"creation": "2020-12-08 16:52:40.590146", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"user", | ||
"call_receiving_device", | ||
"column_break_3", | ||
"greeting_message", | ||
"agent_busy_message", | ||
"agent_unavailable_message" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "user", | ||
"fieldtype": "Link", | ||
"in_list_view": 1, | ||
"label": "User", | ||
"options": "User", | ||
"permlevel": 1, | ||
"reqd": 1, | ||
"unique": 1 | ||
}, | ||
{ | ||
"fieldname": "greeting_message", | ||
"fieldtype": "Data", | ||
"label": "Greeting Message" | ||
}, | ||
{ | ||
"fieldname": "agent_busy_message", | ||
"fieldtype": "Data", | ||
"label": "Agent Busy Message" | ||
}, | ||
{ | ||
"fieldname": "agent_unavailable_message", | ||
"fieldtype": "Data", | ||
"label": "Agent Unavailable Message" | ||
}, | ||
{ | ||
"default": "Computer", | ||
"fieldname": "call_receiving_device", | ||
"fieldtype": "Select", | ||
"label": "Call Receiving Device", | ||
"options": "Computer\nPhone" | ||
}, | ||
{ | ||
"fieldname": "column_break_3", | ||
"fieldtype": "Column Break" | ||
} | ||
], | ||
"index_web_pages_for_search": 1, | ||
"links": [], | ||
"modified": "2020-12-14 18:49:34.600194", | ||
"modified_by": "Administrator", | ||
"module": "Telephony", | ||
"name": "Voice Call Settings", | ||
"owner": "Administrator", | ||
"permissions": [ | ||
{ | ||
"create": 1, | ||
"delete": 1, | ||
"email": 1, | ||
"export": 1, | ||
"print": 1, | ||
"read": 1, | ||
"report": 1, | ||
"role": "All", | ||
"share": 1, | ||
"write": 1 | ||
}, | ||
{ | ||
"create": 1, | ||
"delete": 1, | ||
"email": 1, | ||
"export": 1, | ||
"print": 1, | ||
"read": 1, | ||
"report": 1, | ||
"role": "System Manager", | ||
"share": 1, | ||
"write": 1 | ||
}, | ||
{ | ||
"delete": 1, | ||
"email": 1, | ||
"export": 1, | ||
"permlevel": 1, | ||
"print": 1, | ||
"read": 1, | ||
"report": 1, | ||
"role": "System Manager", | ||
"share": 1, | ||
"write": 1 | ||
}, | ||
{ | ||
"delete": 1, | ||
"email": 1, | ||
"export": 1, | ||
"permlevel": 2, | ||
"print": 1, | ||
"read": 1, | ||
"report": 1, | ||
"role": "System Manager", | ||
"share": 1, | ||
"write": 1 | ||
}, | ||
{ | ||
"email": 1, | ||
"export": 1, | ||
"permlevel": 2, | ||
"print": 1, | ||
"read": 1, | ||
"report": 1, | ||
"role": "All", | ||
"share": 1 | ||
} | ||
], | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"track_changes": 1 | ||
} |
10 changes: 10 additions & 0 deletions
10
erpnext/telephony/doctype/voice_call_settings/voice_call_settings.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors | ||
# For license information, please see license.txt | ||
|
||
from __future__ import unicode_literals | ||
# import frappe | ||
from frappe.model.document import Document | ||
|
||
class VoiceCallSettings(Document): | ||
pass |