Tuesday, September 10, 2024
12 changes · master
Enhancements to existing features
This update adds type-checking annotations to an internal core service file so development tools better understand existing dynamic behavior. It does not change business features or user workflows, but helps maintain code quality for future work.
Original PR description
Just add type ignore labels as mypy complains about monkeypatching. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Accounting reconciliation model lines can now use an existing default account when they are created. This supports smoother setup of loan-related reconciliation models and reduces manual configuration for accounting users.
Original PR description
[IMP] account: allow default account for reco model line This is needed to allow the creation of a new reco model with an existing default account when creating a loan (see Enterprise). task-id 4077613
Sales-related kanban views have been simplified to make them easier to maintain and more consistent for users. The update modernizes the underlying layout components and styling without introducing major functional changes.
Original PR description
*crm,sale_management,sale_timesheet,sales_team,sms In this commit we have simplified the kanban arch for the sale and their related 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 Task-3992107 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Message reactions in Odoo Mail are now easier to read, with slightly larger emoji and reaction counts while keeping the overall button size nearly the same. This improves readability and makes quick reactions clearer for users in conversations.
Original PR description
Before this commit, message reactions were a bit hard to read. This comes from emoji being quite small. The container of a single message reaction is good, but the emoji and text are too small. There's padding around that can be removed, so that emoji and counter can be bigger for a similarly sized container. This commit fixes the issue by making emoji and counter bigger, while keeping a roughly similarly sized container. Before / After <img width="250" alt="Screenshot 2024-09-05 at 18 44 30" src="https://github.com/user-attachments/assets/1d1f5e41-4042-4121-b86d-30dc60ddd379"> <img width="244" alt="Screenshot 2024-09-05 at 18 40 12" src="https://github.com/user-attachments/assets/e8575dc5-e1f4-4b40-bd6f-39bc75c70ff0">
This update reorganizes how the HTML editor understands text selections, making selection-related behavior clearer and easier to maintain. It also streamlines list creation so editor features like toolbars, links, tables, and collaboration can rely on more consistent selection information.
Original PR description
Improve the capabilities and clarify the data provided by the selection plugins. Mainly in the getEditableSelection case. * Add a `getSelectionData` that provided all information you could need about the selection. * Remove the `deep` flag from getEditableSelection ( see getSelectionData().deepEditableSelection). * Move and rename the `isInEditable` flag from a selection POV to a selectionData POV (see: `documentSelectionIsInEditable`). * symplify the auto List creation logic. (see `toggleList` changes bellow) * onSelectionChange subscribers now receive a selectionData object insted of an editableSelection. Improve the `toggleList` method to include a `listStyle` options. This allow the related logic to live in the same place as the ListElement creation. 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
This update makes a small internal improvement to the web app so Chrome debugging no longer stops unnecessarily when exception pausing is enabled. It helps developers investigate issues more smoothly without affecting everyday users.
Original PR description
Small code refactor to avoid debugger break when we debug with chrome when "stop on exception" is enabled. 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
Discuss-related actions have been marked as read-only where appropriate, helping the system handle them more safely and efficiently. This is an internal improvement that should support smoother messaging performance without changing day-to-day user workflows.
The rental sales kanban views were simplified to make them easier to read and maintain. This updates the layout to use newer Odoo interface patterns, helping ensure a more consistent experience without changing core business workflows.
Original PR description
In this commit we have simplified the kanban arch for the sale and their related 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 Task-3992107
The Studio customization icon is now hidden from the systray when users open a project to-do form. This prevents users from accessing Studio actions in a context where they are not intended, reducing confusion and keeping the form experience focused.
Original PR description
- master ### Improvement Studio icon will disabled from systray for project todo form view. task - 3995765
Approval and Frontdesk kanban card layouts were simplified to use newer interface building blocks. This makes the views easier to maintain and helps keep the user experience aligned with current Odoo standards.
Original PR description
In this commit we have simplified the kanban arch for the approvals and frontdesk 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 Task-3992107
Helpdesk ticket and team cards were simplified to use newer standard layouts and controls. This makes the interface easier to maintain and helps keep Helpdesk aligned with current Odoo UI practices, with limited direct impact on daily workflows.
Original PR description
In this commit we have simplified the kanban arch for the helpdesk and helpdesk_timesheet 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 Task-3992107
This update replaces an outdated internal label used for list views across several accounting-related screens. The change helps keep the product terminology consistent and reduces confusion for future maintenance, with little expected impact on day-to-day users.
Original PR description
Remove historical error from semantically incorrect <tree>. Viewtiverse task-3599136 task-27709