Daily updates from Odoo
Sunday, February 22, 2026
1 change · 18.0
Resolved issues and error corrections
This update corrects a bug where changing a lead's customer would retain outdated information from the previous customer, especially if the new customer had empty fields. Now, lead data always reflects the currently selected customer, ensuring accurate and up-to-date information is displayed and used.
Original PR description
When changing the customer (partner_id) on a CRM lead, contact and address fields (phone, email, street, city, etc.) may retain values from the previously selected partner if the newly selected…
When changing the customer (partner_id) on a CRM lead, contact and address fields (phone, email, street, city, etc.) may retain values from the previously selected partner if the newly selected partner has empty fields. This leads to stale and incorrect information being displayed and potentially propagated to the new partner. Current behavior before PR: Create a lead and select Partner A (with phone/email/address). Lead fields are populated correctly. Change the customer to Partner B with empty contact/address fields. Lead keeps old values from Partner A instead of clearing them. Saving the lead may propagate these outdated values to Partner B. Result: outdated data leaks between partners. Desired behavior after PR is merged: When changing the customer, lead fields must always reflect the selected partner. If the new partner has empty values, corresponding lead fields should be cleared. No previous partner data should remain or be propagated. This ensures the partner is always the single source of truth and prevents stale data. Task : https://github.com/odoo/odoo/issues/245215 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr