Daily updates from Odoo
Monday, July 8, 2024
2 changes
Enhancements to existing features
The spreadsheet interface has been updated to give users more space to work by combining navigation and controls into a single streamlined top area. It also adds support for newer pivot date groupings, improving spreadsheet analysis options.
Original PR description
This commit is the counterpart of https://github.com/odoo/odoo/pull/172202
Spreadsheet screens now use a simplified single-line header, combining navigation and common actions so users have more space to work. Key tools such as sharing, filters, save status, breadcrumbs, document title, and favorites remain available in the spreadsheet area with a cleaner layout.
Original PR description
With this commit, the layout of the spreadsheet actions is reworked to have more space to display the spreadsheet. The navbar and the control panel are now merged into a single line. Technical…
With this commit, the layout of the spreadsheet actions is reworked to
have more space to display the spreadsheet.
The navbar and the control panel are now merged into a single line.
Technical details:
- The control panel is completely removed
- All spreadsheet actions are now in "fullscreen" mode
- All spreadsheet actions now have a custom navbar, extended from the
web_enterprise navbar, in order to display:
1. The spreadsheet icon
2. The "app" name "Spreadsheet"
3. A simplified breadcrumb => only the last part of the path
4. The title of the spreadsheet
5. (only for documents) The favorite toggler
- The actions that were in the control panel ("Share", "Filters", the
save indicator, ...) are now moved inside the spreadsheet topbar. A
component is created for each action in order to achieve it. The main
technical impact of moving these actions is that they now should works
with the `env` instead of `props`.
Two known issues:
- Refreshing the browser while in a spreadsheet action will briefly
display the web navbar before the spreadsheet navbar is displayed. This
is due to the fact that the web navbar is displayed before the action is
loaded and therefore before the detection of the action mode `fullscreen`.
- Currently, any action following a `fullscreen` action will be forced
to be in `fullscreen` mode. This implies that when the user will drill
down in a spreadsheet, the action in which he will land will not have
the web navbar. This is not expected and will be fixed in the future.
Task: 4000864