fix: Codacy
diff --git a/erpnext/crm/doctype/utils.py b/erpnext/crm/doctype/utils.py
index 5781e39..acb074a 100644
--- a/erpnext/crm/doctype/utils.py
+++ b/erpnext/crm/doctype/utils.py
@@ -48,7 +48,7 @@
WHERE {}
ORDER BY `modified`
LIMIT 1
- """.format(query_condition))
+ """.format(query_condition)) # nosec
if customer_name:
last_issue = frappe.get_all('Issue', {
diff --git a/erpnext/public/js/call_popup/call_popup.js b/erpnext/public/js/call_popup/call_popup.js
index d3c9c0c..a15c37c 100644
--- a/erpnext/public/js/call_popup/call_popup.js
+++ b/erpnext/public/js/call_popup/call_popup.js
@@ -38,7 +38,7 @@
'label': 'Submit',
'click': () => {
const values = this.dialog.get_values();
- if (!values.call_summary) return
+ if (!values.call_summary) return;
frappe.xcall('erpnext.crm.doctype.utils.add_call_summary', {
'docname': this.call_log.id,
'summary': values.call_summary,