Monday, September 20, 2021
1 change · master
Resolved issues and error corrections
This fix prevents saved contact display names from being affected by temporary screen or language context settings. It reduces the risk of inconsistent or incorrect partner names appearing across Odoo, improving data reliability for users.
Original PR description
Because the field is stored it doesn't make much sense to have a context dependency and that can cause significant issues. However `name_get` looks pretty innocent and it's not necessarily insane to have a context dependency *there* (or even in the average `display_name` as they're normally non-stored computed fields). `_compute_display_name` previously blanked (blacklisted) just a few context values, but doing the opposite is probably the better idea. See also: odoo/odoo#68946 OPW-2453956 Task 2500978