Friday, April 19, 2024
4 changes · saas-17.2
Resolved issues and error corrections
This fixes cases where the browser tab could show the page URL instead of a clear product name when a screen had no display name. Users will now see a consistent "Odoo" title, such as in the home menu, improving polish and reducing confusion.
Original PR description
Commit [1] removed the "Odoo -" prefix in the title of the backend. However, it may happen that an action doesn't have a display name. In that case, we should fallback on "Odoo", because if we don't, the url is displayed as title. This could be reproduced before this fix in the home menu. [1] f3e809a6b7076065e46e466019be4b6b0325371c Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Sales orders no longer crash when a user temporarily clears the company field before selecting a customer. The system now uses a fallback currency so editing can continue smoothly, even though the company remains required before saving.
Original PR description
Issue ----- When emptying the company field on a SO, a traceback happens if there's no customer set as there's no currency provided to _prepare_tax_totals (changed in 17.2 by https://github.com/odoo/odoo/commit/ab0bdf0192120671010634978f202da35ddfc79f). Even if the company is a required field on a SO, the onchange will still be triggered if it is set to False, which causes the issue here. Fix ----- Provide a fallback currency in case the user deletes the company from the SO. opw-3859440
The home menu now shows a clear “Home” title in the browser instead of falling back to the page URL. This avoids confusion for users and restores a cleaner navigation experience after a previous title format change.
Original PR description
Commit [1] removed the "Odoo -" prefix in the title of the backend. As a consequence, there was no title left in the home menu, and the url was displayed instead. This commit defines "Home" as title of the HomeMenuAction. [1] odoo/odoo@f3e809a6b7076065e46e466019be4b6b0325371c
The Knowledge command palette no longer raises an error in developer mode when showing Knowledge-related commands. This keeps the Knowledge experience stable and makes the command setup more resilient to future updates.
Original PR description
When using the command palette of Knowledge in dev mode, the system raises the following exception: `Invalid props for component 'Knowledge404Command': unknown key 'name', unknown key 'searchValue', unknown key 'executeCommand', unknown key 'slots'.` To fix the issue, `Knowledge404Command` and `KnowledgeCommand` will extend `DefaultCommandItem` and its props, ensuring that the required props will be maintained in future updates. task-3862285