Daily updates from Odoo
Thursday, August 1, 2024
9 changes · master
Enhancements to existing features
Gantt popover footers now handle replacement customizations consistently with form dialog behavior. This makes it easier for businesses using tailored Gantt views, such as time off planning, to get predictable footer layouts and actions.
Original PR description
This commit adapts the code which allows to use the replace attribute in gantt popover footer custom archs to align with the behavior of the same functionality made in the form view dialog through https://github.com/odoo/odoo/pull/171537 task-4010906
Website Studio screens and page setup have been made easier to use, with more relevant forms and sensible default values. This helps users configure website pages more smoothly and supports more flexible Studio behavior behind the scenes.
Customers viewing shared project or field service tasks now see address information in a way that matches the internal view. Closed tasks also show the deadline, making shared task details more consistent and easier to understand.
Original PR description
This commit improve project sharing project task form view. - Show customer address in project sharing task from like it displayed in backend. - Display deadline field for close task in project sharing to be consistant. task-3764775
The Knowledge app search controls now look more like clear, tappable buttons on smaller screens. This improves readability and makes mobile use easier for users working with Knowledge articles.
Original PR description
This commit adapts the ControlPanel buttons' styling (Knowledge search) to look like actual buttons and improves their readability for smaller screens. task-3336242
Spreadsheet actions can now keep more of their page state synchronized with the browser URL. This helps browser back, forward, and reload actions behave more consistently when users work with spreadsheets.
Original PR description
Since [1] a new prop (a function called updateResId) was give to the controllers components of the window actions to update the resId on the action state and url, when needed. For instance, the form…
Since [1] a new prop (a function called updateResId) was give to the controllers components of the window actions to update the resId on the action state and url, when needed. For instance, the form view after saving a new record, will update the state and the url with the newly created id. Since [2], the prop was also given to the controllers components of the client actions to update the resId. There is a need to update more than the resId. This PR will introduce a new prop with the aim to update the action state (updateActionState). This props will allow the controller components to update the state and push the new state to the router (updating the url). In practical, this allows to push a new state in the url, keeping the action service in sync. This synchronization between the router and the action service allows the browser back/forward/reload to work as expected. [1]: https://github.com/odoo/odoo/commit/c63d14a0485a553b74a8457aee158384e9ae6d3f [2]: https://github.com/odoo/odoo/commit/3ad4fd65387f60b524e5f786556963ead8ae9dfe
Users can now share error details directly from the error dialog when Documents is installed. The system creates a support document, generates a share link, copies it automatically, and shows it next to the share button to speed up support requests.
Original PR description
This commit adds to the error_dialog the possibility to share the error by creating a new text document on the fly in the automatically generated support folder and then generating a share link for this document. A new share button is therefore added to the error_dialog's footer as soon as documents is installed and the generated share link is directly copied upon pressing the button as well as displayed next to the button afterwards. task-3883329
Barcode screens now use clearer wording for scrap actions and wrong-product scan messages, reducing confusion for warehouse staff. Batch transfer creation is also simplified by removing an unnecessary label option and showing more useful partner and batch information.
Original PR description
In this PR: --------------------------- - In the scrap view, the 'Confirm' button has been rephrased as the 'Scrap' button. - After grouping by warehouse, the '+ Warehouse' button, which appeared, has been removed. - Selection for creating batch transfers has been improved: - Removed the 'Assign Label' option. - Partner and batch information have been added. - The notification message for scanning the wrong product has been rephrased. task-id : 3801674
On mobile devices, navigation breadcrumbs are moved from the control panel into the top navigation bar. This frees up valuable screen space, reducing layout wrapping and making key controls easier to use on smaller screens.
Original PR description
*: spreadsheet_edition Ususally, the Breadcrumbs representing the different steps of the user's navigation is displayed in the ControlPanel. But, even while simplified for smaller screens, this layout takes a lot of screen realestate on smartphone-like screen sizes. To reclaim this space in the ControlPanel and avoid as much as possible the ControlPanel to wrap on multiple lines, this commit applies the required adaptation in enterprise. task-3336242
The manufacturing shop floor test flow was improved to make sure a wizard closes properly during automated checks. This helps reduce false test failures and keeps quality checks more dependable without changing day-to-day user behavior.
Original PR description
In this commit: ===================== - Improve test tour by ensuring that wizard is closed. task-3815521