Tuesday, June 25, 2024
3 changes · saas-17.3
Enhancements to existing features
The event pages now let visitors quickly switch between list and grid layouts when both options are enabled. Their choice is remembered during the session, making browsing events more convenient while keeping the list view cleaner and more compact.
Original PR description
[TASK](https://www.odoo.com/web#id=3869970&cids=1&menu_id=6478&action=4043&model=project.task&view_type=form) This commit adds a switcher to the event list view to allow the user to switch between a…
[TASK](https://www.odoo.com/web#id=3869970&cids=1&menu_id=6478&action=4043&model=project.task&view_type=form) This commit adds a switcher to the event list view to allow the user to switch between a list and a grid view of the events. The switcher is only displayed if both grid and list views are enabled in the web editor. Each time the user switches between the views, the preference is sent to the controller and saved in the session as a 'layout_mode' setting. If no preference is set, the default view is the first view enabled of this list : grid, list. This commit also changes the style and layout of the list view to make it more compact and simple. As we want the switcher to be quick, it is not possible to reload the page when the user switches between the views. Instead, we use some javascript to toggle or replace some CSS. Note that as the grid and list view are really different, it was too complicated to switch views by using the same html elements. I have decided to load both views in the DOM and to hide the one that is not displayed.
Point of Sale users can now cancel all open draft orders directly when closing a session. This helps teams finish session closing faster and reduces manual cleanup of unfinished orders.
Original PR description
When closing a session, allow the user to cancel all open order by clicking on a button. This will cancel all the orders that are in the draft state in the current session. Task ID: 3987032 Related: https://github.com/odoo/enterprise/pull/64846
German POS certification now lets users cancel all draft orders from the current session when closing it. This helps staff close sessions more smoothly by clearing unfinished orders in one action instead of handling them individually.
Original PR description
When closing a session, allow the user to cancel all open order by clicking on a button. This will cancel all the orders that are in the draft state in the current session. Task ID: 3987032 Related: https://github.com/odoo/odoo/pull/169742