Sunday, May 11, 2025
2 changes
1 change
Resolved issues and error corrections
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