Thursday, September 12, 2024
3 changes · saas-17.4
Resolved issues and error corrections
This fixes an internal test reliability issue by resetting tracking counters after each test and preventing automatic retries for one sensitive test. It helps keep development and release validation more stable, with no direct impact on end users.
Original PR description
The test `test_signaling_01_multiple` may fail if the sequence changed during another test. A fix was made to reset the registry sequence but the cache sequence remains an issue. This should solve the issue by resetting the sequence at the end of each test. The tour test_ir_model_fields_translation was used with test_signaling_01_multiple to reproduce the issue. Auto retry is also disabled on this test to avoid the same issue in the future.
Product price fields now respect the decimal precision configured for products instead of being limited by the currency's usual two decimals. This ensures pricelist fixed prices can be entered accurately when a business uses more detailed product pricing.
Original PR description
Versions -------- - saas-17.4+ Steps ----- 1. Set product price decimal digits to 5; 2. create a price list. Issue ----- The field for setting a fixed price only allows for a 2 digit accuracy. Cause ----- When using the `monetary` widget, it defaults to the currency's decimal precision, unless the `field_digits` option is set to `True`. This was the case for this field until commit 06d0053763cd, which refactored the pricelist displays, removing the option. Solution -------- In product views, set the `field_digits` option for every monetary field. opw-4151503
Rental stock calculations now correctly account for outgoing deliveries when shipments are handled in two steps. This helps avoid underestimating ongoing rentals, making replenishment and availability planning more reliable.
Original PR description
In two steps the outgoing shipment doesn't exist. So the computation on max ongoing rental is not correct. We fix it to correctly count the outgoing shipment