def send_a_slack_msg(self, doc, context): send_slack_message( webhook_url=self.slack_webhook_url, message=frappe.render_template(self.message, context), reference_doctype=doc.doctype, reference_name=doc.name, )
def send_a_slack_msg(self, doc, context): send_slack_message( webhook_url=self.slack_webhook_url, message=frappe.render_template(self.message, context), reference_doctype = doc.doctype, reference_name = doc.name)