mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-18 00:48:42 +00:00
Preserve the pre-existing contract: create_customer returned None when contact/address linking failed. The savepoint fix kept the Customer (good) but started returning its name in that case, so a CRM caller treating a non-None return as full success could skip its retry/error handling. Return None on a linking failure while still keeping the Customer. (greptile #56683) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>