fix: Codacy

This commit is contained in:
Suraj Shetty 2019-06-10 09:52:53 +05:30
parent 54bb3e4b9f
commit 13770ccf7a
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ def get_last_interaction(number, reference_doc):
WHERE {}
ORDER BY `modified`
LIMIT 1
""".format(query_condition))
""".format(query_condition)) # nosec
if customer_name:
last_issue = frappe.get_all('Issue', {

View File

@ -38,7 +38,7 @@ class CallPopup {
'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,