Daily updates from Odoo
Monday, January 27, 2025
5 changes · 18.0
Enhancements to existing features
Point of Sale now reduces background server requests by handling preparation updates directly on the server. Device synchronization is more robust by checking local records during each request, helping avoid issues when orders or related data were changed or removed elsewhere.
Original PR description
*: pos_restaurant, pos_event Reduce number of XHR request by handling preparation change notification directly in the backend. The synchronisation is now more robust, each time we receive a request all local ids are checked to ensure that the record wasn't deleted or modified in the meantime.
This update adds database optimizations that help WhatsApp message cleanup and related marketing tracking run more efficiently. It reduces the chance of slowdowns when processing large volumes of marketing automation and WhatsApp data, without changing user-facing features.
Original PR description
Missing indexes: - `whatsapp.message.parent_id` is hit during Fkey lookup during unlinking to set the value to null during `whatsapp.message`'s GC. - `marketing.trace.whatsapp_message_id` is the inverse of the One2many `marketing_trace_ids`, index will be hit when the ORM reads the O2m field. `marketing_trace` is usually a large table, a `Seq.Scan` should be avoided. Would also be hit during whatsapp's GC
Users can now manage document versions from a dedicated dialog, including downloading, deleting, and uploading versions. The Documents list view also gains clearer action ordering plus Export and Insert in Spreadsheet options, improving consistency and day-to-day document workflows.
Original PR description
Purpose ======= Allow managing documents version like it was done in 17.4. We created a new action for it, that will open a dialog in which we can download and delete versions, but also upload new ones. Reorder the actions we can do when selecting documents. Add "Export" and "Insert In Spreadsheet" actions, for consistency with other views, those actions are available only in the list view. Task-4480340
Point of Sale device synchronization has been improved to reduce unnecessary background requests and handle preparation updates directly on the server. This should make order preparation displays and related localizations more reliable when records are changed or removed during use.
Original PR description
*: l10n_cl_edi_pos, l10n_de_pos_res_cert, pos_preparation_display, l10n_it_pos, pos_restaurant_preparation_display, pos_settle_due Reduce number of XHR request by handling preparation change notification directly in the backend. The synchronisation is now more robust, each time we receive a request all local ids are checked to ensure that the record wasn't deleted or modified in the meantime.
Documents uploaded from company-level areas are now accessible to the right users instead of being limited to administrators. The Documents interface also improves upload routing, search panel behavior, and folder visibility so users can find and manage files more easily.
Original PR description
NB: both commits must be updated in FW port for change in company root owner. [FIX] documents: ensure access after upload in Company Otherwise, documents are only accessible by superusers as the document is not shared with anyone and owned by OdooBot. [IMP] documents: improve backend UI Based on users feedback, * partial revert of 78b21e99 regarding the search panel. * Redirect uploads in Recent and All to My Drive. * Increase visibility of record parent folder. Note that this will only occur after the views are updated. Task-4485969