fix: Codacy
This commit is contained in:
parent
54bb3e4b9f
commit
13770ccf7a
@ -48,7 +48,7 @@ def get_last_interaction(number, reference_doc):
|
|||||||
WHERE {}
|
WHERE {}
|
||||||
ORDER BY `modified`
|
ORDER BY `modified`
|
||||||
LIMIT 1
|
LIMIT 1
|
||||||
""".format(query_condition))
|
""".format(query_condition)) # nosec
|
||||||
|
|
||||||
if customer_name:
|
if customer_name:
|
||||||
last_issue = frappe.get_all('Issue', {
|
last_issue = frappe.get_all('Issue', {
|
||||||
|
@ -38,7 +38,7 @@ class CallPopup {
|
|||||||
'label': 'Submit',
|
'label': 'Submit',
|
||||||
'click': () => {
|
'click': () => {
|
||||||
const values = this.dialog.get_values();
|
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', {
|
frappe.xcall('erpnext.crm.doctype.utils.add_call_summary', {
|
||||||
'docname': this.call_log.id,
|
'docname': this.call_log.id,
|
||||||
'summary': values.call_summary,
|
'summary': values.call_summary,
|
||||||
|
Loading…
Reference in New Issue
Block a user