Tuesday, June 1, 2021
1 change
Resolved issues and error corrections
The timesheet grid now keeps the employee overtime indicator in the correct position after an underlying avatar display change. This preserves the expected layout and avoids visual misalignment for users reviewing timesheets.
Original PR description
Before this commit, the `Many2OneAvatar` widget has recently been changed to add a div in its template. This changes impacted the `TimesheetM2OAvatarEmployee` widget in `timesheet_grid` module because this widget uses `Many2OneAvatar` widget in intern and then the positioning of the elements in the `TimesheetM2OAvatarEmployee` widget has changed. This commit changes the position of the overtime indication we add it in the new div created in the `Many2OneAvatar` to keep the initial behavior and alignment. Related PR: odoo/odoo#67366 Community PR: odoo/odoo#71461