fix: add correct slack webhook url link

This commit is contained in:
Mangesh-Khairnar 2020-09-03 12:35:12 +05:30
parent 1637c787e0
commit 1359c1c8b6
3 changed files with 4 additions and 3 deletions

View file

@ -151,6 +151,7 @@ frappe.ui.form.on('Notification', {
},
refresh: function(frm) {
frappe.notification.setup_fieldname_select(frm);
frappe.notification.setup_example_message(frm);
frm.get_field('is_standard').toggle(frappe.boot.developer_mode);
frm.trigger('event');
},

View file

@ -66,7 +66,7 @@
},
{
"depends_on": "eval:doc.channel=='Slack'",
"description": "To use Slack Channel, add a <a href=\"\\#Form/Slack Webhook URL\">Slack Webhook URL</a>.",
"description": "To use Slack Channel, add a <a href=\"#List/Slack%20Webhook%20URL/List\">Slack Webhook URL</a>.",
"fieldname": "slack_webhook_url",
"fieldtype": "Link",
"label": "Slack Channel",
@ -281,7 +281,7 @@
],
"icon": "fa fa-envelope",
"links": [],
"modified": "2020-08-11 19:24:35.479373",
"modified": "2020-09-03 08:45:21.289300",
"modified_by": "Administrator",
"module": "Email",
"name": "Notification",

View file

@ -11,7 +11,7 @@ from frappe.utils.password import get_decrypted_password
from six import string_types
class TwilioSettings(Document):
def validate(self):
def on_update(self):
self.validate_twilio_credentials()
def validate_twilio_credentials(self):