Tuesday, September 3, 2024
8 changes · master
Enhancements to existing features
The time off form now hides the save button once a request has been approved. This avoids confusion by removing an action that is not useful because approved time off cannot be edited.
Original PR description
In this PR, we hide the save button if the time-off is approved because we can't edit the approved time-off so it's of no use Task - 4091885
Customer selection lists now include the street address as an available hidden column. This helps users distinguish between customers or contacts that share the same city when using extended search or selection dialogs.
Original PR description
Before this commit, when using search more on customer it is difficult to differentiate customer when customer have several address with same city. After this commit, add street field in list view of res_partner so it can be used in search more when selecting customer. keep the field by default hidden. task-4079877 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The HTML editor now skips unnecessary cursor and selection preservation steps when cleaning a copy of its content. This reduces background processing during editor cleanup without changing what users see or edit.
Original PR description
When cleaning the clone of the editor's content, it is useless to preserve the selection. This commit makes sure the steps to update and restore the selection in such cases are skipped.
The appointment booking pages were updated to use standard browser technology instead of an older helper library. This keeps the experience the same for users while making the frontend easier to maintain and better aligned with modern web practices.
Original PR description
Specification: This PR focuses on transitioning all frontend code from jQuery to Vanilla JavaScript. The changes specifically target files in the web.assets_frontend. task-3770362
Automatic warehouse creation now applies only to the first company, so related multi-company test flows are updated to create the needed warehouse explicitly. This keeps sale, warehouse, and manufacturing planning scenarios reliable without changing day-to-day business workflows.
Original PR description
In https://github.com/odoo/odoo/pull/172457, automatic warehouse creation is restricted to be only for the first company, hence, some unit tests that create a multi-company environment needs to be modified. A warehouse creation step is added to these tests so that the flow being tested does not break. Task-4034713
The rental date picker now displays better when shoppers use the collapsed sidebar on the website shop. The off-canvas menu also keeps product categories first, making browsing and date selection clearer for customers.
Original PR description
Since the introduction of the new "Collapsed sidebar" feature in https://github.com/odoo/odoo/pull/177056, this commit adapts the date picker style when the sidebar is collapsed. task-3987018 Requires: - https://github.com/odoo/odoo/pull/177056 --- <img width="1776" alt="Capture d’écran 2024-08-20 à 09 38 23" src="https://github.com/user-attachments/assets/89fa009b-8c59-48ea-bc65-6c72f03a50d7">
The Settings menu now uses the same “Social Marketing” name as the app itself. This removes confusion caused by the previous “Social Media” label and makes the user experience more consistent.
Original PR description
### Before this PR: The name of the app is 'Social Marketing' but in settings it shows 'Social Media'. ### After this PR: Fix naming in Settings Menu. Social Media → Social Marketing Task-4143044
Kanban card layouts in Field Service, IoT, and Knowledge have been simplified using newer standard components. This makes these screens easier to maintain and helps keep the user interface consistent with current Odoo practices.
Original PR description
In this commit we have simplified the kanban arch for the industry_fsm, industry_fsm_report,iot and knowledge 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