summaryrefslogtreecommitdiff
path: root/odoo
diff options
context:
space:
mode:
authorMunaf Khan <mub@odoo.com>2021-02-26 04:46:57 +0000
committerThibault Delavallée <tde@odoo.com>2021-03-15 11:38:37 +0000
commitb0023e2afa9a08b0d60e54b335f31d07018abecd (patch)
treec9fab1dd747f8d005e92b168f739e30b8e28c5e2 /odoo
parent9733c22d0645459a0e5f280f59242dd31070d9b2 (diff)
[FIX] crm: prevent email_from propagation if only formatting differs
Before this commit when we update the email_from field on lead with only formatting differing from partner a warning ribbon was displayed. It considered email had changed and had to be propagated. Moreover unnecessary update on partner was done to propagate the new email onto the customer. In this commit we propagate email only if normalized versions are different. It means that if lead email_from is "Hermes Conrad <email@example.com>" and partner email is "Jonathan Conrad <email@example.com"> no update from lead to partner is performed. Indeed normalized versions are the same. Task ID-2461308 PR odoo/odoo#66890 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'odoo')
0 files changed, 0 insertions, 0 deletions