Wednesday, October 30, 2024
9 changes · 18.0
Enhancements to existing features
Kitchen tickets in Point of Sale now show clearer order updates, including notes, add-ons, staff member, table or takeaway details, and timing. This helps restaurant teams understand what changed in an order faster and reduces delays or mistakes in kitchen preparation.
Original PR description
In this commit:
-------------------
- We have changed the entire kitchen ticket structure added many important data
to make it more usefule such as
- Diferent title related to the order changes.
- Proper orderline formation with internal notes and addons.
- Who has taken the order.
- Floor, table name with order number and time of order changes.
- Also adapted sitting mode (Dine in, Take out) changes.
- Changed the getOrderChanges functionas below
- Identified and separated only note updates in line
- Added some required informations like comboline and attributes.
- Enabled Order button when sitting mode updated (Dinein <-> Takeout)
- For this we have saved the sittingMode data in last order changes.
Task: 4264433Combo products now behave more consistently in online sales: shoppers will not see unnecessary configuration steps, combo products are excluded from wishlists, and combo items follow the intended display order. Analytics reporting for combo prices is also corrected, improving sales tracking accuracy.
Original PR description
- Don't open the combo configurator in eCommerce if there's nothing to configure, - Don't allow combo products in the wishlist, - Order combo items by combo sequence instead of by selection order, - Fix the Google Analytics tracking price for combos. task-4264135 Closes https://github.com/odoo/odoo/issues/182464
PDF files encoded in base64 are now recognized and displayed with the standard PDF icon in the web interface. This makes file previews more consistent and helps users identify PDF attachments more easily.
Original PR description
In the o_image scss, add support for the 'application/pdf;base64' mimetype so that these files are also represented with the pdf background image. Task-4263142 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
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
Original PR description
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
The Projects kanban view no longer counts linked documents just to decide whether to show the Documents menu item. This greatly improves loading performance for projects with many tasks, while the Documents menu may now appear even when no documents are present for users with folder access.
Original PR description
## Description Following a32825ee00f2b330d99113f4d8c1488903fe744e, the "Documents" menu-item is hidden when there are no documents in it. The presence of the field `document_count` in the view triggers `_compute_documents`, which is relatively slow for projects with a lot of tasks. It's not worth to incure the cost at each load of this view (which is a hot path) just for hiding a button in a sub-menu. ## Spec Change The menu-item "Documents" is present even if there are no document and you have differnet than `'none'` permission on the folder. ## Benchmark Loading "Projects" kanban view with 5 favourite projects, one of which has 1M+ tasks on next.odoo.com | | Before | After | Speedup | |---------------|--------|-------|---------| | Timings (hot) | 10.2s | 790ms | 12.9x |
Portal users now see only the document actions they are allowed to use, reducing confusion from unavailable options. Internal users also gain smoother uploading in the company documents area, while unavailable duplicate actions are hidden when not permitted.
Original PR description
We disable for portal user, the actions they cannot perform. In the "New" drop down button: - hide "Folder" (create Folder) - hide "Link" (create link) In the cog menu: - hide "Move to trash" - hide "Add shortcut" when the parent folder is not editable In the configure form: - hide lock/pinned toggle buttons - hide owner and partner_id - hide create_activity_option (alias) - hide Email Upload (alias) We also authorize internal user to upload in "My company" folder (which actually upload in the personal drive of the user). Task-4216243
The Documents app now shows selected pin-related menu actions with a standard checkmark instead of a pin icon. This makes the drop-down menu more consistent and easier to scan for users.
Original PR description
Specs: Replace the pin icons with the 'v' tick icon from the drop-down items. Technical: Remove the '<i class='fa fa-thumb-tack me-1'/>' pin icon and, based on a condition, add the 'selected' class to the existing 'o-dropdown-item dropdown-item' element. Task-4266470
The Documents app now uses a simpler and more consistent rule for identifying company folders: items owned by Odoobot with no parent folder. This makes the folder list and document view behave more consistently, while removing the older pinned-folder concept behind the scenes.
Original PR description
Purpose ======= Simplify the company folder domain. Now the domain is just the documents owned by Odoobot, and without a parent folder. The search panel now use the same domain, and so the only difference now between the kanban view and the search panel is that the search panel only show folders. Technical ========= Because the old `is_pinned_folder` is used in access rule, we can not just set it to False, it needs to reflect the owner_id / folder_id values (it will be cleaned in master). Task-4293841
The Documents list now shows clear icons for folders, links, and file types next to document names. This makes it easier for users to quickly recognize document types, with shortcuts highlighted in blue for better visibility.
Original PR description
Purpose ======= Show the documents types (folder, url and files mimetypes) using icons in the list view. Specification ============= Creating a new 'documents_type_icon" widget that can be displayed alongside the documents names. Reducing the 'type' column's width and removing the column title to make the type icon feel like a part of the document name. Also coloring the shortcuts in blue in the list view. Task-4263142