Wednesday, August 21, 2024
5 changes · master
Enhancements to existing features
The website partner assignment feature now uses modern browser code instead of older jQuery-based scripting. This keeps the frontend aligned with current platform standards and helps improve long-term maintainability without changing business workflows.
Original PR description
Specification: This commit focuses on transitioning all frontend code from jQuery to Vanilla JavaScript. The changes specifically target files in the web.assets_frontend. task-3928248
The department form now displays the department name more prominently as the page title. This makes department records easier to identify at a glance and improves day-to-day navigation for HR users.
Original PR description
This PR updates the department form view to enhance the display of the department name as the title. task-3895915
Partner website links now display more cleanly when the URL is very long, preventing them from overlapping nearby content. The website icon alignment has also been adjusted for a neater and more consistent partner view.
Original PR description
Purpose: - Partner's website URL clips over content if a URL is very long - Website icon is not aligned properly. Specs: - Partner's website URL doesn't clips over main content. - Website icon is now properly aligned. Task-4011082
This update adds automated checks to help ensure user-facing text in web interface properties is properly prepared for translation. It also standardizes related transition naming, reducing the risk of inconsistent labels and improving maintainability for multilingual deployments.
Original PR description
Adds the following checks: + Checks for props that does not use `.translate`. + Checks that the regex used is catching the right attributes. Enterprise: https://github.com/odoo/enterprise/pull/68437 Task-4091337
The web module’s internal Kanban view test definitions were cleaned up to use newer, simpler patterns and clearer styling conventions. This makes the test code easier to maintain without changing everyday user workflows.
Original PR description
In this commit we have simplified the kanban arch for the web module test cases. 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