Monday, August 26, 2024
8 changes · master
Enhancements to existing features
Clicking a statement total in bank reconciliation now opens a cleaner statement form experience instead of showing elements that do not fit well in the popup. This makes the reconciliation workflow look more polished and easier to use after recent form view changes.
Original PR description
Before, in the bank reconciliation widget, when clicking on the statement total, the form view of the statement was opened in a popup. This doesn't look good anymore after 120a546295b9e99b2bd50736003506311419562e as that commit adds the chatter and the attachment previewer to the form view. The popup now can be replaced with opening the form view directly instead of in a popup. No task.
Product catalog and document cards have been simplified to use newer layout standards, making the screens easier to maintain and more consistent. Users should see the same core information with a cleaner, more reliable presentation across field service sales, stock-related tours, and PLM document views.
Original PR description
In this commit we have simplified the kanban arch for the product and their related view modules. the goal is to simplify them,make them easier to read and use bootstrap utility classnames. - Previously, we used kanban-box, but now we are using kanban-card instead. - Deprecated oe_kanban_global_click and oe_kanban_global_click_edit. - More use of <field/> tags - Removed the oe_kanban_colorpicker class and replaced it with the kanban_color_picker widget. - Changed type='edit' to type='open' to open records. since version 16, records always open in edit mode by default. - kanban_image from rendering context, is deprecated so we use <field name="..." widget="image"/> instead - kanban_color, kanban_getcolor and kanban_getcolorname are deprecated use new attribute highlight_color="color_field_name" on root node - oe_kanban_colorpicker is deprecated, use kanban_color_picker widget instead Task-3992107
The helpdesk timesheet and timesheet grid kanban views were updated to use newer, cleaner layout components. This makes the views easier to maintain and keeps them aligned with current Odoo interface standards, with minimal direct business impact.
Original PR description
In this commit we have simplified the kanban arch for the helpdesk_timesheet and timesheet_grid module.the goal is to simplify them, make them easier to read and use bootstrap utility classnames. - Previously, we used kanban-box, but now we are using kanban-card instead. - Deprecated oe_kanban_global_click and oe_kanban_global_click_edit. - More use of <field/> tags - Removed the oe_kanban_colorpicker class and replaced it with the kanban_color_picker widget. - Changed type='edit' to type='open' to open records. since version 16, records always open in edit mode by default. - kanban_image from rendering context, is deprecated so we use <field name="..." widget="image"/> instead - kanban_color, kanban_getcolor and kanban_getcolorname are deprecated use new attribute highlight_color="color_field_name" on root node - oe_kanban_colorpicker is deprecated, use kanban_color_picker widget instead Task-3992107
This update standardizes how website pages are identified across related apps, including appointments and helpdesk. It helps keep website behavior consistent and easier to maintain without introducing major visible changes for users.
Original PR description
to squash
Resolved issues and error corrections
The spreadsheet version history side panel now uses the correct padding, making the panel look cleaner and easier to read. This minor visual fix improves consistency in the spreadsheet editing experience without changing functionality.
Original PR description
Task: [4131488](https://www.odoo.com/web#id=4131488&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form)
Miscellaneous changes
When the user was connecting an IoT to the database there was no notification or any information to tell him that he succeded / failed / had to wait to see it in the "connected" list. We now display those notifications. Task: 4104811 Forward-Port-Of: odoo/enterprise#68394
Original PR description
When the user was connecting an IoT to the database there was no notification or any information to tell him that he succeded / failed / had to wait to see it in the "connected" list. We now display those notifications. Task: 4104811 Forward-Port-Of: odoo/enterprise#68394
Fixed an issue that could prevent the IoT device page from working after a shared system update removed a library it depended on. The page now loads the needed component so device monitoring and related updates continue to work normally.
Original PR description
As a result of community PR #174213, jQuery has been removed from the backend JS bundle. The IoT device page relied on jQuery for longpolling requests. This PR simply adds a call to ensure jQuery is loaded. PR that caused the bug: https://github.com/odoo/odoo/pull/174213
round() on the fractional part of shift_template.end_time/start_time can lead to problems when the result is very close to 1.0 (e.g., anything greater than 0.994). Specifically, round() can cause the fractional part to round up to 1.0 (so 60 minutes), which is not wanted. We can either set it to 59 as done here, or 0 and add 1 hour to the hours. Forward-Port-Of: odoo/enterprise#68756
Original PR description
round() on the fractional part of shift_template.end_time/start_time can lead to problems when the result is very close to 1.0 (e.g., anything greater than 0.994). Specifically, round() can cause the fractional part to round up to 1.0 (so 60 minutes), which is not wanted. We can either set it to 59 as done here, or 0 and add 1 hour to the hours. Forward-Port-Of: odoo/enterprise#68756