Tuesday, May 23, 2023
8 changes · master
New functionality added to Odoo
Users can now double-click images in editable web content to view them in a full-screen preview instead of opening the replacement flow. A new toolbar icon also gives users a clear way to preview images, while the replacement option remains available separately.
Original PR description
Enterprise PR: https://github.com/odoo/enterprise/pull/40450 When double-clicking on an image, display it "full screen" (similar to clicking on an image in the attachments list). This replaces the current behavior (which is to open the media selector to replace the current image - the Replace action remains available in the toolbar). In the toolbar for images, display an icon that users can click on to open the full screen preview as well. task-3109331 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Enhancements to existing features
Gamification goal updates now better detect which users have recently interacted with the system, instead of relying only on login timing. This reduces unnecessary background processing while keeping user goals up to date more accurately.
Original PR description
In the cron updating challenges, we were historically filtering out records of users that didn't log in since the last update. This doesn't work because sessions can last a long time. We temporarily…
In the cron updating challenges, we were historically filtering out records of users that didn't log in since the last update. This doesn't work because sessions can last a long time. We temporarily fixed this by updating all goals for internal users, but this can lead to unnecessary computations too. We here introduce a `last_interacted_date` field on res.users.log. In order to limit the performance impact for supporting our needs, we * store a timestamp in the session (because the env user is lazy loaded as many request do not need the user's data) * throttle writes to the database Storing the timestamp in the session is chosen over a form of cache because it is not linked to a process/worker. The login tests used (available with gamification alone but modified by other modules on runbot) likely covers the worst case scenario as we change sessions. Other existing performance tests are generally done with authenticated users such that the cache is filled and no extra query is performed during all the subsequent operations of the tests. Task-3148858
This update improves the Point of Sale experience with easier mobile searching, faster popup confirmation using Enter, and clearer split-bill payment flow. It also keeps debug tools out of the way by default and makes optional product information available without interrupting sales.
Original PR description
This PR contains UX improvements. - Modification of the search button on mobile to keep a fixed position. - Modification of the splitbill system, after the validation of a part of the order, a continue button is displayed in order to finish the payment of the rest of it. - The INPUT popup can now be validated by pressing the "enter" key. - Debug widget is now hidden by default. And a button is added in the burger menu to toggle its visibility. - When adding a product with optional products the info popup is no longer opened automatically but if the orderline is selected in the order the info button will be highlighted.
Point of Sale now shows a single, clearer alert when it goes offline instead of repeatedly interrupting users with error popups. This helps cashiers continue working in offline mode with less disruption, and removes the unnecessary warning sound.
Original PR description
Before when the point_of_sale was offline, popups were opened at each RPC error. This was inconvenient for the user as the pos must be usable offline. Now, the error popup has been replaced by an alert popup explaining that the point of sale works in limited version as long as it is offline. The warning noise has also been removed. https://github.com/odoo/enterprise/pull/41323
When a point of sale order is cancelled or deleted, the change is now sent to preparation tools such as kitchen or order preparation screens. This keeps staff-facing preparation queues accurate and helps avoid preparing orders that customers no longer need.
Original PR description
Before when you deleted a order in PoS with the preparation tools enabled. The order was not cancelled on them. Now, when cancelling/deleting an order in PoS the information is sent to the preparation tools. taskId: 3278081 Linked PR: https://github.com/odoo/enterprise/pull/40673
Administrators can now select and upgrade multiple installed apps at once from the apps management area. This reduces repetitive work and makes maintenance faster when several business apps need updates together.
When a point-of-sale order is cancelled or deleted, preparation displays are now notified so kitchen or service teams no longer see it as active. This keeps preparation tools aligned with the PoS and helps avoid wasted work or confusion.
Original PR description
*: pos_preparation_display,pos_preparation_display_restaurant Before when you deleted a order in PoS with the preparation tools enabled. The order was not cancelled on them. Now, when cancelling/deleting an order in PoS the information is sent to the preparation tools. taskId: 3278081 Linked PR: https://github.com/odoo/enterprise/pull/40673
When the point of sale loses connection, users now see a single informative alert instead of repeated error popups for each failed request. This makes offline operation less disruptive and removes the warning sound while the system runs in a limited offline mode.
Original PR description
Before when the point_of_sale was offline, popups were opened at each RPC error. This was inconvenient for the user as the pos must be usable offline. Now, the error popup has been replaced by an alert popup explaining that the point of sale works in limited version as long as it is offline. The warning noise has also been removed. https://github.com/odoo/odoo/pull/120826