Monday, August 11, 2025
4 changes · master
Resolved issues and error corrections
Confirming a rental order with plannable products now continues creating all possible planning shifts even if one line has no available resource. This prevents incomplete planning from being generated and helps teams avoid missing scheduled rental work.
Original PR description
Before this commit, when rental order containing a plannable rental product is confirmed, some shifts will be generated according to the rental order lines with such product. The problem is when there is no available resource, the method in which we expect to return vals list of planning.slot model will return vals because it will break the loop instead of continuing to the next iteration. This commit makes sure the `_planning_slot_vals_list` always return list of vals. Forward-Port-Of: odoo/enterprise#92030
The Swedish SIE4 import now avoids creating accounting entries when the source file contains no usable transaction lines. This prevents empty journal entries from being added to Odoo, keeping imported accounting data cleaner and more reliable.
Original PR description
The aim of this commit is making sure that we don't import move without transaction in it. In SIE4, we can have moves with BTRANS and RTRANS tags that we are ignoring. It means that we could have move without any move lines. It's not an expected behavior in Odoo. This commit checks that the move data are created only if we have lines for that move. no task id Forward-Port-Of: odoo/enterprise#91783
Recruitment users can now rename salary offers without the title reverting after saving. This ensures offer records reflect the intended names and reduces confusion when managing applications.
Original PR description
Steps to produce: - Navigate to Recruitment > Job Positions > Applications> Offers - Select an offer and try to edit the title and save Issues: - When the title is edited and saved, the title reverts back to previous name. Fix: - Change the field attribute in model by making it store=True task-4787302
This fix prevents original list prices from being exposed in hidden page elements for rental products that are not available for sale at zero price. It helps keep website pricing behavior consistent for visitors and avoids search engines or page inspection revealing prices that should not be shown.
Original PR description
Versions
--------
- 17.0+
Steps
-----
1. Create a pricelist setting product prices to zero;
2. configure website to make zero-priced products unavailable for sale;
3. go to /shop as a public user;
4. open the product page of a zero-priced product;
5. open the browser console;
6. use `document.querySelector('.css_non_editable_mode_hidden .oe_currency_value')`
Issue
-----
The query returns an element with the product's original list price.
Cause
-----
In `website_sale`, this element is part of a `t-if` that only gets rendered when `editable` is `True`. A `website_sale_renting` override changes the conditional to `not combination_info.get('is_rental')`.
Solution
--------
Instead of replacing the `t-if` attribute in the override, add `and not combination_info.get('is_rental')` to it, ensuring it remains hidden outside of editable mode.
opw-4865141
Forward-Port-Of: odoo/enterprise#91826
Forward-Port-Of: odoo/enterprise#91112