Daily updates from Odoo
Wednesday, January 12, 2022
1 change · master
Code cleanup and technical improvements
Helpdesk now uses shared contact comparison logic instead of maintaining duplicate rules. This reduces maintenance risk and keeps phone and email handling more consistent across related Odoo apps.
Original PR description
Purpose of this commit is to move the duplicating code from helpdesk in `res.partner`. So, In this commit move `_get_partner_phone_update` `and_get_partner_email_update` as same code is duplicating in crm which is not good practice and rename it to `_is_same_phone` and `_is_same_email` that would check whether the provided email/phone differs from the email/phone field. closes #23118 task-2686413