Tuesday, July 23, 2024
4 changes · saas-17.4
Resolved issues and error corrections
Inventory locations will now be sorted by their full location path instead of an unused sequence value. This makes location lists and dropdowns more predictable and easier to scan, especially when working with parent and sublocations.
Original PR description
The sequence field was added to `stock_location` for incorrect reasons. Because of this, the field has no value and results in potentially incorrect ordering of the locations (e.g. in field dropdown) and also potentially results in unexpected ordering since ordering by `complete_name` typically results in easier grouping by location > sublocation, e.g.: parent parent > child 1 parent > child 1 > subchild 1 parent > child 2 parent > child 2 > subchild 2 Task: 4013661 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
This fix prepares Odoo to load dark mode styling correctly for screens that are loaded only when needed. It helps ensure a consistent dark mode experience as this capability is rolled out in Enterprise and later Community editions.
Original PR description
In https://github.com/odoo/odoo/commit/f1749d3299957e2949e0b78653266a5397bb213c, we forgot to prepare a bundle for the dark mode. Here we add a bundle 'web.assets_backend_lazy_dark'. It will be first used in enterprise and soon in community.
Dark mode styling is now correctly applied to lazy-loaded backend views, including the grid view and Studio. This ensures users get a consistent visual experience when working in dark mode.
Original PR description
In https://github.com/odoo/odoo/commit/f1749d3299957e2949e0b78653266a5397bb213c, we forgot to prepare a bundle for the dark mode. As a consequence, the grid view does not have the style it should have in dark mode. Here we use the newly introduced bundle 'web.assets_backend_lazy_dark' in https://github.com/odoo/odoo/pull/173620 to fix that and make studio use that bundle too in dark mode.
The close button in the planning slot portal pop-up has been repositioned so it appears correctly. This improves the visual polish and makes the modal easier for users to understand and close.
Original PR description
The button is misaligned in the modal of the planning slot's portal view. This PR will realign it correctly. task-3943384