Monday, February 17, 2025
6 changes · 17.0
Resolved issues and error corrections
This fixes an issue where delivery transfers removed from a wave could still show a message saying they were transferred by that wave. Business users will now see accurate transfer histories, reducing confusion when reviewing warehouse operations.
Original PR description
The message "Transferred by <Wave Nb>" was posted on pickings that are detached before the wave is validated. How to reproduce: - Create Product P, storable, with 2 unit on hand - Create 2 delivery transfer for 1 unit of P each - Add both transfer to new wave - Set Picked to True on 1 of the move, and not on the other. - Validate the wave transfer => 1 transfer only is validated (OK), but both have a message saying that the transfer was "Transferred by <Wave Nb>" Removed `skip_immediate` context as it is obsolete, and allow the function to only have 1 return statement, which is needed for the fix. OPW-4503809
A broken link in the contribution guide was corrected so readers can reach the intended pull request template information. This helps contributors find the right instructions and reduces confusion when reporting issues or proposing changes.
Original PR description
Description of the issue/feature this PR addresses: In the 'CONTRIBUTING.md' file , there is a list item with the text: > Use this **template** when reporting issues. Please search for duplicates first! The link named 'template' should point to a pull request template. Current behavior before PR: The link named 'template' is broken and give a 404 error. Desired behavior after PR is merged: The link named 'template' now target the 'Contributing' wiki page, section 'making-pull-request' that contains the desired template. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixed an inventory calculation issue where package location quantities could be compared with the wrong rounding precision. This helps ensure stock package location decisions are based on accurate quantity comparisons, reducing the risk of small rounding errors affecting warehouse operations.
Original PR description
### Issue: The spec of the `float_compare` method was not used correctly here: https://github.com/odoo/odoo/blob/dc2821d768a7b4afbb5918e4343c00abeeb31670/odoo/tools/float_utils.py#L141 https://github.com/odoo/odoo/blob/dc2821d768a7b4afbb5918e4343c00abeeb31670/addons/stock/models/stock_quant.py#L1487 opw-4574169 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Message date and time tooltips in chatter now use the user's configured language format. This ensures customized date or time formats are shown consistently when users hover over message timestamps.
Original PR description
Versions -------- - 17.0+ Steps ----- 1. Go to Settings / Languages; 2. customize the date or time format of the active lang; 3. open a chatter; 4. hover over the date text of a message. Issue ----- Customized format isn't used for the tooltip. Cause ----- In v16.0 & earlier, this tooltip was formatted using the web util `getLangDatetimeFormat`. This util has been superseded, and had been replaced with the builtin `DATETIME_SHORT` when `discuss` got refactored in 7710c3331ebd2, before getting replaced again with `DATETIME_SHORT_WITH_SECONDS` via 941e28cee11cc. Solution -------- Use the `formatDateTime` util from `web`. With the default values, this should be the same as `DATETIME_SHORT_WITH_SECONDS`, but allows for user customization. opw-4266569
Swiss payroll deductions are now posted to the correct opposite debit and credit accounts when their totals are negative. This helps ensure payroll accounting entries are accurate and reduces the need for manual correction.
Original PR description
Since deductions are negative in the total, we need to invert accounts for them to be properly posted in the inverse credit and debit accounts.
The Belgian payroll reporting logic now includes exoneration amounts when counting private car benefits. This helps ensure employee tax forms reflect company car benefits more accurately and reduces the risk of payroll reporting mistakes.