Daily updates from Odoo
Tuesday, March 19, 2024
11 changes
1 change
Enhancements to existing features
This update enhances the text highlighting feature across Odoo's website and web editor, making it more reliable and visually consistent. Specifically, it fixes an issue where highlights were visible even when scrolling, and streamlines the code for better performance and maintainability.
Original PR description
The goal of this PR is to improve the current text highlight system by adding the following updates: - Move the highlight option's related CSS ([data-set-text-highlight]) to website. - Update the…
The goal of this PR is to improve the current text highlight system by adding the following updates: - Move the highlight option's related CSS ([data-set-text-highlight]) to website. - Update the `selectStyle` options to handle the default "currentColor" value. - Force to hide the highlight options overlay opacity on scroll. - Remove the dead code of `getDOMRectWidth()` (used in older versions to compare text content width on page load). - The `o_text_highlight_item_dirty` class is no longer used to adapt non-detected highlight items (the highlight mutation observer was tweaked to detect and adapt the new highlight items added to the DOM after editors commands. E.g. after the `oEnter()` command). - The editor's code (`_handleTextOptions()`) will only set text highlight classes and activate the snippet. Highlight DOM adaptations (multi-line detection, setting SVGs...) are done by the public widget. - A `z-index:` CSS (used to keep the highlight SVG visible and behind the text at the same time) is replaced by a more appropriate `isolation: isolate;`. - Only use one global `resizeObserver` to adapt the text highlights on resize. - The text highlight effects list was updated. task-3285817 Forward-Port-Of: odoo/odoo#142968
8 changes
Enhancements to existing features
Rental-related delivery documents now include the customer's reference from the sales order line. This makes it easier for teams and customers to match pickings with their own ordering or tracking information.
Original PR description
Task-3570382
Manufacturing work orders now better align with the newer Shop Floor app by removing an outdated tablet-view setting and easing manual lot and serial number consumption checks. This should reduce confusion for users and keep enterprise manufacturing workflows consistent with the latest core behavior.
Original PR description
This PR does 2 things: - adjusts enterprise for the community changes in https://github.com/odoo/odoo/pull/148026 - removes obsolete tablet view option see individual commits for additional details task: 3573667 Upgrade PR: https://github.com/odoo/upgrade/pull/5547 COM PR: https://github.com/odoo/odoo/pull/148026
The Field Service Gantt view popover now uses clearer wording by showing “Worksheet Template” instead of “Template.” It also displays the customer’s phone number when available, helping teams quickly contact customers from the schedule view.
Original PR description
Steps: - Install field service. - Go to gantt view. - Click on one of the pill. Improvement: - Change `Template` to `Worksheet Template`. - Show partner's phone if set. task-3619652
Appraisal surveys now support more precise access restrictions for designated officers and managers. This improves confidentiality and reduces conflicts with other HR survey flows, while keeping appraisal survey screens focused on relevant options.
Original PR description
Access Rights / Record rules ============================ A survey can now have a list of restricted officers. This addons demo data and the record rules on appraisal officers have been adapted to…
Access Rights / Record rules ============================ A survey can now have a list of restricted officers. This addons demo data and the record rules on appraisal officers have been adapted to the change. Also, the overrides on survey manager and officer rules are removed, as the 'survey_type' != 'appraisal' case is now handled from the 'survey' addon. Views / Actions / templates =========================== 'hr_appraisal_survey' addon enables its users to access surveys of type appraisal directly from the 'hr_appraisal' app. It overrides some 'survey' views and templates, mostly to hide unecessary elements (field, button, actions) for surveys of type appraisal. 'hr_recruitment' is about to provide the same feature, through the same mechanic (interviews). To avoid potential conflicts or unwanted behaviors, we have made a couple of changes: - The inheritance mode of 'survey' form and kanban view overrides are set to primary and their ids are passed to the proper action. So it's not required to use context to figure whether survey's type is appraisal. - Hiding unnecessary survey actions is dealt from the 'survey' addon - Hiding the radio button to select the appraisal type when creating/editing a survey is also dealt from the 'survey' addon see odoo/odoo#131710 task-3451217
This update adds easier direct paths to frequently used actions across several Odoo apps, helping users reach common screens faster. It also clarifies planning links so standalone planning and employee planning each open the right view.
Original PR description
Follow up of odoo/odoo@c63d14a0485a553b74a8457aee158384e9ae6d3f (PR: odoo/odoo#142007) for oft-used actions.
Users can now change the measures used in spreadsheet pivot tables from the pivot side panel. This makes spreadsheet analysis more flexible by allowing teams to adjust the values they track without recreating the pivot.
Original PR description
This commit allows to update the measures of pivots. Task: 3806129
Client actions now support cleaner URL paths, names, and record identifiers, aligning them with other Odoo action types. This improves reload behavior, breadcrumbs, and deep-linking across affected apps such as Accounting reports, Documents Spreadsheet, Payroll, Referrals, Sign, and Barcode.
Original PR description
Since [1], path-based routing is supported for window actions, and server actions. The support for client actions was incomplete. It wasn't possible to add a path if the client action wasn't on the database; at the reload, the client actions didn't have a proper breadcrumb; and client actions didn't have the possibility of using resId (only have action_id as props). This commit, fix this issues by giving the possibility to add a path, and a display name to the client action in JS. Also, it adds resId to the props given to the client action as well as the updateResId function, which allows the client action to update the resId on the URL as a form view will do. [1] : https://github.com/odoo/odoo/commit/c63d14a0485a553b74a8457aee158384e9ae6d3f
Adds broader automated checks for SEPA payment file variants, including country-specific formats such as Swiss and Swedish versions. This helps ensure upcoming payment processing changes keep producing correct bank files and reduces regression risk.
Original PR description
The test coverage for account_sepa wasn't ideal, especially for the ISO20022 variants, such as the Swiss or Swedish ones. This commit adds tests which will be useful to assert that the incoming account_sepa refactor behaves as intended. Linked to 3472908
2 changes
Enhancements to existing features
This update removes redundant code from the subscription module that was accidentally duplicated during a recent update. By eliminating this duplicate method, the code is cleaner and easier to maintain without affecting any customer-facing functionality.
This pull request updates the exception handling system in Odoo. The changes improve how errors are managed and reported throughout the platform, ensuring better error handling consistency and user experience.
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