Thursday, January 9, 2025
2 changes · saas-17.2
Resolved issues and error corrections
The Planning app now has the needed resource color information to correctly show the wrench icon in resource avatar fields. This keeps planning screens visually consistent and helps users identify resource-related entries more reliably.
Original PR description
Changes in enterprise related to PR https://github.com/odoo/odoo/pull/157968 Added the resource_color as dependency for the widget to display the color task-3801551
Material resources now show the expected wrench icon instead of an empty photo placeholder when selected in Planning forms. The update also improves icon and text alignment in resource selection fields, making the interface clearer and more polished for users.
Original PR description
Steps to reproduce: - Open planning app and click on New. - A form is opened and searched for a material resource in the Resource field ex. Crane - An empty photo icon is displayed in the selection bar. Issue: - An empty photo icon is being displayed instead of a wrench. Cause: - Many2XAutocomplete which adds an image in the many2one selection field is not modified to display - the wrench icon in the many2one_avatar_resource_field. Solution: - A similar modification is done in many2many_avatar_resource_field through class which extends Many2XAutocomplete which can be imported and added into components of many2one_avatar_resource_field. fix the alignment between of icon and text in many2many_avatar_resource. task-3801551