Browse Source
Merge pull request #26112 from rtdany10/patch-4
fix: ignore permission to update call log
develop
Deepesh Garg
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
erpnext/telephony/doctype/call_log/call_log.py
|
@ -142,7 +142,7 @@ def link_existing_conversations(doc, state): |
|
|
for log in logs: |
|
|
for log in logs: |
|
|
call_log = frappe.get_doc('Call Log', log) |
|
|
call_log = frappe.get_doc('Call Log', log) |
|
|
call_log.add_link(link_type=doc.doctype, link_name=doc.name) |
|
|
call_log.add_link(link_type=doc.doctype, link_name=doc.name) |
|
|
call_log.save() |
|
|
call_log.save(ignore_permissions=True) |
|
|
frappe.db.commit() |
|
|
frappe.db.commit() |
|
|
except Exception: |
|
|
except Exception: |
|
|
frappe.log_error(title=_('Error during caller information update')) |
|
|
frappe.log_error(title=_('Error during caller information update')) |
|
|