Saturday, September 21, 2024
4 changes · master
Code cleanup and technical improvements
The accounting dashboard has been updated to use Odoo's newer kanban layout approach, reducing hidden technical dependencies and simplifying the page structure. This should make the dashboard easier to maintain while preserving the experience for accounting users, with related naming cleanup in HR kanban views.
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
This update removes an outdated compatibility layer in Kanban views and updates the few remaining places that still relied on it. It helps keep the platform easier to maintain with minimal expected impact on users.
Original PR description
This was a very old API that we kept supporting in v16 for retro compatibility but which has almost no usecases anymore. This PR adapts those last usecases and removes the compatibility layer. Task~3992107 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
Odoo Studio now creates new kanban views for staged records using the current view format instead of an older layout. This keeps newly created views aligned with the modern interface and improves consistency for users configuring apps in Studio.
Original PR description
Before this commit, creating a new kanban view for a model using stages would create a legacy Kanban (with kanban-box) instead of the current view implementation. Now, the view uses the newest syntax.
The accounting dashboard views were modernized to use Odoo’s newer kanban structure, making them easier to maintain and less dependent on hidden technical conventions. A few HR reporting views were also cleaned up to use clearer internal names, with little expected change for day-to-day users.