Thursday, April 17, 2025
4 changes · saas-17.4
Resolved issues and error corrections
Repair orders now limit the product catalog for parts to consumable products, preventing service products from being selected by mistake. This helps users create accurate repair orders and avoids downstream inventory inconsistencies.
Original PR description
Steps to reproduce the bug:
- Create a service product “S1”
- Create a repair order:
- In the parts: - Click on the catalog
Problem:
You can select a service product, whereas the products in the repair parts should be restricted to consumable-type products only:
https://github.com/odoo/odoo/blob/f2923dec56b5ba2436bc244337c1e430a85e7e94/addons/stock/models/stock_move.py#L45-L48
opw-4687472A web interface test was adjusted to stay compatible with rendering changes introduced in Chrome 135. This helps keep Odoo's automated checks reliable without changing customer-facing functionality.
Original PR description
This commit slightly adapts a Sortable test to accommodate adjustments made in Chrome 135 to some rounding done during painting. References (not exhaustive): - https://chromium.googlesource.com/chromium/src.git/+/a629cc4312019dfa43b686bdb2d9418a625f9bc6 - https://chromium.googlesource.com/chromium/src.git/+/2efdf2a6f8e184ece09acca4677d1ce9eb7a43ea - https://chromium.googlesource.com/chromium/src.git/+/ce7a5f6b60b175c780fb39e2f751d82abb8b011b
This update properly removes obsolete automated tests from the Swiss payroll accounting test module. It helps keep the development and release process cleaner without changing business workflows or user-facing payroll features.
This update adjusts an internal test for the Gantt view so it remains reliable after Chrome changed how it rounds visual rendering. It helps prevent false test failures without changing the product behavior users see.
Original PR description
This commit slightly adapts a Gantt test to accommodate adjustments made in Chrome 135 to some rounding done during painting. To do so, and to avoid a purely arbitrary value, the related assert is modified to check the visibility of the "today" column and that there is an actual scroll applied instead of an arbitrary scroll of 762px. References (not exhaustive): - https://chromium.googlesource.com/chromium/src.git/+/a629cc4312019dfa43b686bdb2d9418a625f9bc6 - https://chromium.googlesource.com/chromium/src.git/+/2efdf2a6f8e184ece09acca4677d1ce9eb7a43ea - https://chromium.googlesource.com/chromium/src.git/+/ce7a5f6b60b175c780fb39e2f751d82abb8b011b