Sunday, May 11, 2025
3 changes
2 changes
Resolved issues and error corrections
Users can now update the project, task, and description on a timesheet even when it is linked to a running timer. This prevents the timer header in list views from incorrectly blocking normal edits, while keeping time-sensitive fields locked during an active timer.
Original PR description
Before this commit, the user cannot edit the timesheet in the timer header inside the list view because the record is considered to be readonly by the list view. The reason is because the timesheet is considered as readonly when the timer is started which is wrong. This commit makes sure the timesheet is still editable even if a timer is linked to that timesheet. task-4781902
This update fixes intermittent test failures in the barcode manufacturing flow by making the automated test click a more stable part of the screen. It helps keep build checks reliable and reduces false alarms during development.
Original PR description
The tests `test_barcode_production_create` and `test_barcode_production_create_tracked_bom` sometime fail. This commit modifies their tour to avoid random fails by clicking on the kanban's article itself instead of one of its div child. runbot build error: [190625](https://runbot.odoo.com/odoo/runbot.build.error/190625) and [190613](https://runbot.odoo.com/odoo/runbot.build.error/190613)
1 change
Resolved issues and error corrections
Updating a parent product in the Manufacturing Planning Schedule now keeps the list of components within the normal page limit. This prevents overly long pages and helps users keep a stable, manageable view when products have many components.
Original PR description
When updating a parent product, the MPS view will load ALL the components on the page even if it breaks the pager limit. Previously, there was a refresh at every change. It was annoying so it was removed. However this refresh made sure to reduce the number of records shown to the pager limit. The solution is to simply slice the received array of lines to the n first records, n being the value of `this.env.config.limit`. opw-4778588