Daily updates from Odoo
Saturday, May 23, 2026
2 changes · master
Enhancements to existing features
This update simplifies Odoo controller code by replacing `request.env` with `self.env`, aligning with existing model practices. This change reduces code complexity and improves maintainability, ensuring a more consistent and efficient system.
Original PR description
*= `payment_sepa_direct_debit, sale_(amazon, lazada, shopee), website_sale_(*)` Purpose of this commit: - Since https://github.com/odoo/odoo/commit/9ce68df56cf01ad166de4d21d1670fbd9631940d, `self.env` can also be used in controllers as a replacement for `request.env`. This significantly reduces the need to import and rely on request in controller code. - Using request has already become bad practice in models. With this change, we aim to reduce its usage in controllers as well, aligning controller code more closely with model practices. - Therefore, within our scope, all occurrences of `request.env` are replaced with `self.env` wherver possible. See also: - https://github.com/odoo/odoo/pull/262467 task-6172360
This update enhances the Odoo Enterprise phone system by adding tooltips to long names displayed in call summaries and contact information. This improves usability by providing more context and detail for users, particularly when dealing with lengthy names or numbers.
Original PR description
Task-6179948