Saturday, April 20, 2024
25 changes · master
Enhancements to existing features
The Studio submenu was converted to a newer interface foundation to make future changes easier and more consistent. This mainly affects internal behavior in Studio and Website Studio, with limited direct impact for end users beyond smoother ongoing maintenance.
Original PR description
PURPOSE Prepare future for owl SPEC Convert submenu to owl TASK 2289910
The Web Studio field selector dialog was modernized using Odoo's newer interface framework. This keeps the customization experience consistent and makes future enhancements easier to deliver with less maintenance risk.
Original PR description
PURPOSE Prepare future for owl SPEC Convert field selector dialog to owl Task: 2309531
When users rotate an attached image, the updated version is now shown immediately in the form's attachment viewer. This keeps the preview consistent with the saved file and avoids confusion from seeing an outdated image.
Original PR description
PURPOSE
when we rotate an image and close it, it will save that image and it should update
the image in attachment viewer in form
SPECIFICATION
it should update image in attachment viewer also on rotate
LINKS
PR https://github.com/odoo/enterprise/pull/11565
Task 2067052The Studio menu editing window has been updated using a newer interface foundation. This keeps the feature ready for future improvements while preserving the menu editing experience for users.
Original PR description
PURPOSE Prepare future for owl SPEC Convert Studio Edit Menu to owl TASK 2289908
This change identifies and disables internal navigation actions that appear unused across several Enterprise apps, reducing clutter and future maintenance work. One manufacturing-related action is moved to the Enterprise module where it is actually used, helping keep app ownership clearer without expected business workflow changes.
Original PR description
Enterprise counterpart of https://github.com/odoo/odoo/pull/45188 Ir.actions.act_window seemingly unused in Odoo codebase: Not linked to a given menu, not referenced in the code. Some actions are only used in enterprise but defined in community, and could maybe be moved between modules. ## This PR isn't expected to be merged But split in multiple parts, after scope by scope review of responsible Gooroos (and removing instead of commenting the given actions). [Task ID - 2188942](https://www.odoo.com/web?#id=2188942&model=project.task&view_type=form)
Several enterprise services now use more consistent route names, with redirects preserving existing access. This improves naming consistency across connected features while minimizing disruption for users and integrations.
Original PR description
requirement: https://github.com/odoo/iap-apps/pull/327
Odoo Studio now automatically applies the right avatar display when users add an avatar field to a kanban card for users or employees. This makes kanban cards look correct with less manual setup and avoids offering the avatar option when one is already present.
Original PR description
when adding an avatar field with the 'add an avatar' studio link - if the selected field is a many2one to res.users, it will set the many2one_avatar_user widget on the field. - if the selected field is a many2one to hr.employee, it will set the many2one_avatar_employee widget on the field. - removed the 'add an avatar' link if there is already a many2one_avatar_xxx widget in the kanban card. TaskID-2530023
The approvals test suite was simplified by removing repeated checks that did not add extra validation. This makes ongoing maintenance easier while keeping the same product behavior and test intent.
Original PR description
PURPOSE: remove duplicate assertions. SPECIFICATIONS: Improve the test case by removing unnecessary and duplicate assert. LINKS: Task: 2462115
The timesheet grid now includes clearer guidance in the product tour before showing users how to adjust timesheets manually. The timer control icon has also been updated to better communicate stopping time tracking, with a related keyboard-use issue fixed for lines without tasks.
Original PR description
The purpose of the task is to adjust tour and adjust icon So in this commit, - Added extra tour step before tour shows how to adjust time sheet manually - Replace the arrow button which means play with square button which means stop TaskId: 2451807
Users can now select a record in the map side panel by clicking anywhere on its row, instead of only on the text. This makes navigating from the list to the matching map pin faster and less frustrating.
Original PR description
PURPOSE In the map view sidepanel, clicking anywhere on a record row should select it, and redirect to the corresponding map pin. Currently, the user needs to click on the string itself, which is bad design. SPECIFICATION Currently > in the map view sidepanel, the user needs to click exactly on the record <a> to select it Expected > clicking anywhere on the record <li> should select the record TASK 2471919
Resolved issues and error corrections
Marketing automation emails now allow users to edit the preview text, helping teams better control how messages appear to recipients. SMS marketing forms now use the label “Title” instead of “Subject,” making the form clearer and more appropriate for text messages.
Original PR description
preview text in marketing automation mailings is now editable, earlier there was no option for input. subject field name is changed to title in marketing automation sms as subject looks weird in sms form.
Features or functions removed from Odoo
This change removes or relocates view definitions that are no longer used across several Odoo Enterprise apps. It is expected to have little to no visible impact for users, while reducing maintenance overhead and keeping the codebase cleaner.
Code cleanup and technical improvements
The view creation dialog in Odoo Studio was rebuilt using the newer interface framework. This prepares the feature for future improvements while keeping the business workflow essentially unchanged.
Original PR description
PURPOSE Prepare future for owl SPEC Convert view dialog box to owl TASK 2289910
Miscellaneous changes
Appointment slots are not reflected in the gantt view so there are no indications of whether an appointment is within a valid time period with regards to the appointment-defined time intervals. This commit adds slot intervals in gantt availabilities display and attempts to have more common ground between slots and gantt. task-3813567 Forward-Port-Of: odoo/enterprise#61033 Forward-Port-Of: odoo/enterprise#60100
Original PR description
Appointment slots are not reflected in the gantt view so there are no indications of whether an appointment is within a valid time period with regards to the appointment-defined time intervals. This commit adds slot intervals in gantt availabilities display and attempts to have more common ground between slots and gantt. task-3813567 Forward-Port-Of: odoo/enterprise#61033 Forward-Port-Of: odoo/enterprise#60100
Appointment confirmation details now align more naturally on mobile screens. This makes the booking confirmation page easier to read and more polished for users on phones, while preserving the desktop layout.
Original PR description
This will fix the right alignement of the label when a appointment is confirmed and on mobile. Before this commit the labels where aligned all the time the right, which is nice on Desktop, but not so pretty on the mobile side. After this commit the labels are pulled to the left using simple css media queries on max 767px in width. --------------- Task #2302663/6
This update fixes an internal issue in contract-based work entries where date calculations could call a removed process. It helps keep employee work entry dates computed reliably after related HR changes.
Original PR description
…n in hr_work_entry_contract hr_work_entry_contract overrides _inverse_duration to do stuff, and calls super but method has been removed from hr_work_entry. hr_work_entry._inverse_duration was removed and its body, or something equivalent, was moved to a new method hr_work_entry._compute_date_stop, this commit replaces hr_work_entry_contract._inverse_duration with an override of the _compute_date_stop method, the call to super is preserved but now the parent method exists. task: 2285889 related: odoo/odoo/commit/3bd345597fa932abdaf780f72bacf331690f549b
Users can now leave a sign template while an item options popover is still open without triggering an error. This makes template editing smoother and avoids interruptions when navigating away before validating or closing the item options.
Original PR description
move the popover of a sign item into o_sign_template Before this commit When we edit a sign template 1. click a sign item and open its options 2. click "template" button in the navigation without clicking "validate" or "x" button 3. you will find a trackback taskid: 2645074
Worksheet-style quality checks now close immediately after the user validates them. This returns manufacturing operators to the tablet work order view instead of moving them to another quality check, reducing confusion and keeping the workflow on track.
Original PR description
when quality check of type worksheet close the quality check window as soon as the user validates it and return to the tablet view window rather than next quality check. task - 2555350
Fixed an issue where switching from a filtered timesheet list with no results back to the grid view could cause an error. Users can now move between views smoothly even when their search returns no timesheet entries.
Original PR description
Steps to produce: Go to Timesheets > All Timesheets > list view filter on something that doesn't return any result switch to the grid view. Expected Result: Traceback should not raised, switching view should work smoothly. TASK 2510310
In Studio mode, clicking the SMS icon inside a phone field now selects the phone widget instead of opening the SMS wizard. This prevents accidental pop-ups while editing forms and makes Studio behavior more predictable for users configuring views.
Original PR description
PURPOSE Clicking on sms icon in phone widget in studio mode opens wizard while in studio mode clicking on it should not open wizard instead just select the element. SPEC Clicking on sms icon in phone widget in studio mode should only select phone widget. TASK 2577276
This update adjusts an automated test related to infinite scrolling in the form view chatter. It helps ensure the messaging panel continues to behave reliably when users browse longer conversation histories.
Original PR description
Chatter infinite scroll on form view PR Reference : 64004
This update corrects demo data by pointing it to the right account reference. It helps ensure the demo setup works as expected and avoids errors when loading or testing the sample configuration.
Original PR description
- fixed data by updating account external id
Original PR description
Enterprise counterpart of https://github.com/odoo/odoo/pull/45221 Ir.ui.view seemingly unused in Odoo codebase: * Primary views only * Not linked to an action (Current PR is based on #8386 to ensure views used in unused actions are also removed). * Not the default view of the model for the given view type. * Not referenced in the code or in Views archs (`form_view_id=`, `kanban_view_ref=`, ...) ## This PR isn't expected to be merged But split in multiple parts, after scope by scope review of responsible Gooroos (and removing instead of commenting the given views). [Task ID - 2183784](https://www.odoo.com/web?#id=2183784&model=project.task&view_type=form)
The Map View setup dialog in Odoo Studio was rebuilt using the newer interface framework. This prepares the feature for future maintenance while keeping the user-facing behavior largely unchanged.
Original PR description
PURPOSE Prepare future for owl SPEC Convert map view dialog to owl task: 2302480
The pivot autofill template was removed by mistake during a recent update of the lib (due to a lack of tests ...). Forward-Port-Of: odoo/enterprise#60762
Original PR description
The pivot autofill template was removed by mistake during a recent update of the lib (due to a lack of tests ...). Forward-Port-Of: odoo/enterprise#60762
…tprint With this [commit](https://github.com/odoo/enterprise/commit/8638ccc9cc26b997caee852e266b7ecc6f7c632a), we introduced a performance issue for databases with partners having lots (several thousands) bank account numbers. Due to the GROUP BY clause, the query was duplicating each move line for each partner's bank account number, which quickly saturated the server's memory. We eliminated the problem by selecting from `res_partner` instead of `account_move_line`. Forward-Port-Of: o
Original PR description
…tprint With this [commit](https://github.com/odoo/enterprise/commit/8638ccc9cc26b997caee852e266b7ecc6f7c632a), we introduced a performance issue for databases with partners having lots (several thousands) bank account numbers. Due to the GROUP BY clause, the query was duplicating each move line for each partner's bank account number, which quickly saturated the server's memory. We eliminated the problem by selecting from `res_partner` instead of `account_move_line`. Forward-Port-Of: odoo/enterprise#60977 Forward-Port-Of: odoo/enterprise#60851