Wednesday, February 26, 2025
7 changes · 17.0
Resolved issues and error corrections
The online shop’s mobile filter panel now includes multi-checkbox product attributes, matching the desktop shopping experience. This helps mobile shoppers find products using all available filter options instead of missing certain attributes.
Original PR description
## Versions:
17.0+
## Issue:
Multi-checkboxes attributes are displayed as filters in the shop view but are not displayed in mobile view.
## Steps to reproduce:
1. Create a `Multi-checkbox (option)` attribute called "Extra" via `Sales / Configuration / Products / Attributes`;
2. Add 1 attribute value;
3. Go to any product available on the shop (e.g. Acoustic Bloc Screens);
4. Via its `Attributes & Variants` tab, add the newly created attributes and select the value;
5. Go to the shop via the `Website` app;
- *In normal web view, the filter is available on the left*
6. Change view to mobile mode and open the filters;
7. Open the "Extra filter and see no filter under it.
## Cause:
Mobile displayed filters are restricted to avoid color attributes but didn't expand to allow multi-checkboxes.
opw-4383970Resume content searches in recruitment now only look at files attached to applicant records. This prevents unrelated attachments from appearing in search results, helping recruiters find the right candidates more reliably.
Original PR description
Currently, searching for `Resume's Content` on applicants uses the domain `attachment_ids.index_content`, which searches the `index_content` of all attachments, ignoring the model they are linked to. This update modifies the domain to include a `res_model` filter, ensuring the search is limited to applicants' attachments, which are typically CVs added by recruiters. opw-4558352 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Unsupported web editor file URLs now return a normal “not found” response instead of causing a server error. This prevents unnecessary error reports and gives users a cleaner experience when invalid editor asset links are requested.
Original PR description
Currently a ValueError occurs when users access URLs like '/web_editor/shape/image/jpeg'. Error: ``` ValueError: Unsupported file: util/static/shapes/index File "odoo/http.py", line 2364, in __call__…
Currently a ValueError occurs when users access URLs like '/web_editor/shape/image/jpeg'.
Error:
```
ValueError: Unsupported file: util/static/shapes/index
File "odoo/http.py", line 2364, in __call__
response = request._serve_db()
File "odoo/http.py", line 1892, in _serve_db
return self._transactioning(
File "odoo/http.py", line 1955, in _transactioning
return service_model.retrying(func, env=self.env)
File "odoo/service/model.py", line 137, in retrying
result = func()
File "odoo/http.py", line 1922, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "odoo/http.py", line 2082, in dispatch
return self.request.registry['ir.http']._dispatch(endpoint)
File "odoo/addons/base/models/ir_http.py", line 329, in _dispatch
result = endpoint(**request.params)
File "odoo/http.py", line 727, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "addons/html_editor/controllers/main.py", line 499, in shape
svg = self._get_shape_svg(module, 'shapes', filename)
File "addons/html_editor/controllers/main.py", line 84, in _get_shape_svg
with file_open(shape_path, 'r', filter_ext=('.svg',)) as file:
File "odoo/tools/misc.py", line 247, in file_open
path = file_path(name, filter_ext=filter_ext, env=env)
File "odoo/tools/misc.py", line 210, in file_path
raise ValueError("Unsupported file: " + file_path)
```
This ValueError was raised from the odoo/tools/misc.py at line [1] because the
file extension was not a match with the normalise path of the file path.
This commit will handle the ValueError at the time of opening the file;
now it shows not found instead of an error.
https://github.com/odoo/odoo/blob/231952114ae730bb8d4671f4a61f738e8b6dd5b8/odoo/tools/misc.py#L177-L178
sentry-6073086305This fixes an internal testing issue in financial reports where repeated test data could be created and cause failures. The change helps keep automated checks reliable, reducing the risk of delays or false alarms during product validation.
Original PR description
A previous commit[^1] disabled the rollback of the subtests. This was leading to the creation of multiple times the same data inside of the same sub transaction, raising a constraint on the company name, which should be unique. runbot-135304 [^1]: 8f50521be74d0cf858beea3b0aeb59760264ac4d
This update removes an empty view replacement that could interfere with how payroll contract screens are extended. It helps keep Swiss payroll ELM transmission contract views loading and inheriting correctly, reducing the risk of display or configuration issues.
Original PR description
This PR removes empty replace possibly breaking view inheritence
Signature request date fields now follow the recipient partner's language settings instead of the company's language. This ensures customers see dates in the expected local format, reducing confusion during document signing.
Original PR description
Issue: - When we send a signature request to a partner with a different than the company language, the dates in the signature request are always filled in the company language. Steps To Reproduce: - Create a partner and set its language to a different language than the company language. (i.e. Traditional Chinese) - Create a signature request for this partner and put a date field in it - Send the signature request to the partner - open the request's link from the email, and click on the date feild, it will be filled with the company language. Solution: - in the sign controller, the `get_document_qweb_context` method used to set `today_formatted_date` based on the company language, this fix changes it to use the partner language instead. OPW-4566396
A bug in accounting reports has been fixed so reports remember which nested lines are unfolded when users expand sections. This helps users keep the expected report view and avoids confusing collapses while reviewing financial details.
Original PR description
The unfolded_lines option was not updated when a line was expanded using the expand function, if the expanded lines contained already unfolded child lines. This commit updates the unfolded_lines option correctly. Backport of ca1cf04f0410966981a341f569114511ae5a50fd