Daily updates from Odoo
Thursday, August 8, 2024
4 changes · master
Enhancements to existing features
Website badges and tags have been redesigned to use consistent colors and sizing across website-related modules. This improves visual consistency, readability, and editing reliability while keeping a fallback for special cases such as shopping cart or dropdown badges.
Original PR description
task-3858047 - requires https://github.com/odoo/odoo/pull/162935 | Master | This PR | |--------|--------| | <img alt="image"…
task-3858047 - requires https://github.com/odoo/odoo/pull/162935 | Master | This PR | |--------|--------| | <img alt="image" src="https://github.com/user-attachments/assets/b5cd8c0a-9e32-4bc4-9d67-4c22cf615a4c"> | <img alt="image" src="https://github.com/user-attachments/assets/905c9840-8630-44c9-a89e-8111a88e11be"> | ---------------------------------------------- This PR has two main goals : ### Standardize color management for tags Rather than tweaking the `$o-colors` map differently in each module, we decided to expand the implementation made in https://github.com/odoo/odoo/commit/d767b0554ead887b6caf6e8b1813e50a2492f5d4 and make it standard to the `website_*` modules. ### Rework the badge and o_badge elements The objective is to improve/harmonize the design, streamline bootstrap inheritance and ease edition. The ability to apply arbitrary colors has been removed since using the "Style" dropdown ensures consistency and avoids issues related to text readability. Moreover, the sizing of s_badge scale with its immediate parent element has been changed, in line with bootstrap default behavior. ### (Extra) Provide an exit door for corner cases scenarios This new system shows its limits in some corner cases, mainly `dropdown-toggle.badge` and for our shopping cart button. To ensure a good visual result in any case, we allow the use of the old badge design, by using a combination of `.badge.bg-*`. This should be limited to corner cases scenarios of course, in order to consolidate the general front-end badges design. ----------------------- **Note**: the data-xml of the snippet was increased because: - Old untouched badges are still ok but not pretty - Old badges whose class changed may not use the same color anymore - Old badges with custom colors are now ugly and options do not work
The Point of Sale interface has been redesigned across several related POS modules to make daily sales workflows clearer and more visually modern. This improves usability for staff using payment, login, restaurant appointment, and customer settlement screens.
Original PR description
*: pos_restaurant_appointment, pos_blackbox_be, pos_hr_mobile, pos_settle_due This PR implements a comprehensive redesign of the POS interface, featuring substantial enhancements in usability and aesthetics. The main objective is to improve the overall user experience and deliver a visually new appealing interface. task-3954669 COM: https://github.com/odoo/odoo/pull/176016
Planning progress now includes sales order lines even when planning was not originally enabled on them, as long as they are manually selected in planning. This makes progress bars better reflect the work that has actually been planned and avoids undercounting hours.
Original PR description
Currently, the fields 'planning_hours_planned' and 'planning_hours_to_plan' are calculated by filtering out SOLs that don't have planning enabled or that are in the draft or sent state, and by converting the quantity of these SOL to hours according to the unit. The problem with this is that if we manually choose an SOL that doesn't have planning enabled in the planning slot, it does not count in the progress bar. This PR changes the filters to include SOLs that have planning disabled. task-3857649
Spreadsheet charts inserted from Odoo reports can now be clicked to open the business records behind a bar or pie slice. This helps users move from a chart insight directly to the relevant detailed records, while keeping the correct originating view context.
Original PR description
## Task Description This task adds the possibility to see the records related to a bar/pie part in a Odoo chart in Spreadsheet (included via the "Insert in spreadsheet" action) ## Related Task - Task: 3806411