Monday, November 25, 2024
10 changes · 18.0
Resolved issues and error corrections
This fixes a problem where Odoo could fail when processing a view that has no defined content. The system now adds a safe placeholder so views can still be combined correctly, improving reliability for configurations that leave view content empty.
Original PR description
the arch is not mandatory in the view, but in the _combine method we are assuming that there is at least a node in the arch. This commit fix the issue by adding a data node if the arch is empty to ensure the ability to combine the archs. task-4241455 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Members screen back icon has been visually adjusted so it no longer appears disabled when it can be used. This reduces confusion and makes navigation clearer for users.
Original PR description
**Current behavior before PR:** The back icon in members looked disabled even though it wasn't **Desired behavior after PR is merged:** The back icon in members no longer looks disabled and has proper opacity task-id:[4354084](https://www.odoo.com/odoo/project/1519/tasks/4354084) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Changing only the time in a date range no longer replaces the other date with the current date. This prevents accidental changes and keeps scheduling or date range entries accurate when users adjust times.
Original PR description
Before this commit, selecting a 'time' in a daterange for the value that is _not_ focused would erase the other date with the current one. This is what the datepicker is meant to do when the date is selected, but it doesn't make sense to do that for time selection, as it is agnostic of the focused date with the help of distinct `select` elements. This commit sends the information whether the 'time' part has been changed to bypass the overwrite system in such cases. Task [4354382](https://www.odoo.com/odoo/project/133/tasks/4354382?debug=1) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A typo in the certificate module caused the system to call a non-existent method when retrieving public key information without keys already set. This fix points to the correct method, helping certificate processing work reliably in that fallback case.
Original PR description
`[certificate.certificate]._get_public_key_numbers_bytes` currently calls `[certificate.key]._get_public_key_numbers_bytes_with_key` if no keys are set in the certificate object. However, this method does not actually exists and is actually named `[certificate.key]._numbers_public_key_bytes_with_key`. This commit simply, renames the call correctly. opw-4355675 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The web app no longer blocks the browser's install prompt event unnecessarily. This keeps the existing install prompt behavior while avoiding unwanted console messages, making the experience cleaner for users and support teams.
Original PR description
It is not necessary useful to prevent the event in our case, so we can just stop doing it while maintaining the same functionality. Preventing the event writes a log in the console, and we prefer to avoid having a log if we can keep the service without it. ->Will be fw-ported from 17.0
This update fixes an automated test for the Project app so it can run reliably again. Keeping this test active helps ensure the task history feature continues to work correctly and prevents regressions from reaching users.
Original PR description
Before this commit, the tour always fails because the tour has been desactivated due to a deterministic bug. This commit alters the existing steps to be able to start the tour as before and checking if the bug in the history feature is still there. runbot-98505
This fixes an issue that could prevent certain Belgian payroll export views from loading correctly. It helps ensure payroll export configurations for Group S, Partena, and UCM remain reliable after related platform changes.
Original PR description
The inheritance with almost empty view was not working properly because the framework was not able to combine empty archs. This commit is the direct follow up of the related commit in odoo repository. task-4241455
Inventory users can now open the receipts map view even when there are no stock pickings to display. This prevents an error screen and keeps navigation smooth when records have been removed or filtered out.
Original PR description
Steps to reproduce: ------------------- 1. Install Inventory app 2. Go in Inventory > Overview > Receipts > Remove all existing pickings (or filter so that you have no pickings appearing) 3. Go in the map view 4. A traceback occurs Fix: ------------------- The traceback is caused by a TypeError: Cannot read properties of undefined (reading 'warehouse_address_id'). We should ensure that there is at least one stock picking, an additional check is added for that purpose. version-18.0 related-https://github.com/odoo/enterprise/pull/70099/commits/48401e9b083e5ecdf03b6863d4536a10f3896be7
The Norwegian VAT report now avoids decimal amounts and shows the purchase-from-abroad base as a positive value. This helps businesses produce VAT reports that better match reporting requirements and reduces the risk of submission issues.
Original PR description
VAT report cannot have decimals. VAT report should have positive base value of purchase from abroad.
The bank reconciliation screen now displays currency amounts correctly when matching existing entries, preventing the currency symbol from overlapping the amount. It also avoids an error that could occur when users selected text in the reconciliation view, making the workflow more stable.
Original PR description
This commit will fix two things: - CSS problem with currency symbol in the monetary field amount, when being on the reconciliation widget, click on a statement and then try to match an existing entries. When clicking on this line, the currency of the amount in the manual operations page was in the amount. - Fixing a traceback when selecting text, because the t-on-click was triggered but the target had no attribute. task: 4260301