Monday, September 23, 2024
2 changes
Code cleanup and technical improvements
This update standardizes internal naming used by kanban-style views across several Odoo apps. It helps keep the interface framework consistent and easier to maintain, with little expected change for day-to-day users.
Original PR description
Kanban templates have been reworked. In the new API, the main template is named kanban-card instead of kanban-box. The Activity and Hierarchy views follow a similar API, with their main templates being activity_box and hierarchy_box, respectively. The goal is to standardize these three views by defining a similar rendering context available in the arch. As part of this effort, we have renamed kanban-card to card and kanban-menu to menu. Task-4169388
This update removes an unused internal styling marker from Kanban action buttons across several Odoo apps. It helps simplify the user interface code without changing how users interact with the affected screens.
Original PR description
Action buttons (i.e. `<a>` or `<button>` tags) automically came with two classnames: `oe_kanban_action` and `oe_kanban_action_${tagName}`. The latter wasn't really necessary, so this commit removes it.
Part of task~3992107 aiming at simplifying kanban views