mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-24 20:46:38 +00:00
link_existing_conversations is the Contact after_insert hook; a full frappe.db.rollback() on a failed call_log.save() would discard the triggering Contact insert itself (and, in test mode, the whole unit of work). Savepoint the hook's DB work and roll back only to it.