Wednesday, April 5, 2023
12 changes · master
Enhancements to existing features
Website visitors can now find events by typing a city, country, or location name in the event search box. Search results also show the event location, making it easier for visitors to identify relevant events and for organizers to improve event discoverability.
Original PR description
Currently, website users/visitors are not able to search the events based on where they happen. This PR improves the behavior by allowing the users/visitors to type the city/country name in the search box and returns the events that are happening in the country or city that matches the search term. To allow this, we have utilized the `search_extra` search option and searching the matching events with `sudo` because public users can not access the `address_search` m2o of the event. This PR also shows the event location name when users search for the event. Also add the "_getFieldsNames" method to easily override this method to add a field name from another model. Note that searching with sudo is just to add event ids in the domain. The final result will be returned with not sudoed environment and so the record rules are always respected. TaskId-2791031
Employee contract screens have been aligned so they look and behave consistently across the different Odoo apps that use them. This makes it easier for HR users to review contract information without adapting to different layouts in each area.
Original PR description
task - 3061227 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo popovers can now be positioned correctly when triggered from content inside embedded frames. This improves the consistency of interactive help and menus in embedded views, though some scrolling situations may still display the popover outside the frame.
This update improves how Odoo detects circular links in core records, helping avoid situations where checks can get stuck. It makes the underlying validation more reliable without changing day-to-day user workflows.
Original PR description
use RECURSIVE CTE to check recursion avoid potential dead loop for check_recursion in test_105_res_partner_recursion 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
Digest KPI values are now calculated using each digest's company, with a fallback to the current company when none is set. This also batches KPI calculations when possible, improving performance for digest emails and dashboards across several business apps.
Original PR description
Purpose ======= Now, the KPI are computed based on their `company_id`, and not based on the current company. If no company is set on the digest, we compute it based on the current company. The KPIs are computed based on their company. Most of the time, they will all belong to the same company so we can improve the performance by computing them in batch. Task-2827996
Onboarding step validation now returns clearer results, so other parts of Odoo can decide what action to take next. This also adds a safer way to validate onboarding steps by reference and improves test coverage for the updated behavior.
Original PR description
The purpose of this commit is to return meaningful responses when validating steps and leave the caller to decide what to do with them. We also introduce a public action enabling the validation of a step from its xmlid and handle the different cases including the missing step. Note: these features are currently used in appointment (See Ent PR). Additionally, returning the newly validated `onboarding_steps` from `onboarding_step.action_set_just_done` makes more sense than returning the `onboarding_progress_steps` records. Tests are updated to make sure of this. Task-3074112
Appointment setup now reacts more accurately to validation results, so users see the right next step without unnecessary full app reloads. Sharing appointment links is also more reliable because the share dialog stays open if copying the link fails, making it easier to retry.
Original PR description
The purpose of this commit is to use the meaningful responses from step validation introduced in the COM PR and independently decide what to do with them.
Tests are included to check this behavior.
Additionally, for obvious convenience and performance reasons, we use
the "action" service to reload the current action instead of reloading
the whole app.
We also include two small improvements:
* Applying the same behavior to the share appointment modal outside
the context of an onboarding, i.e. not closing the dialog in case copying
to clipboard failed.
* We'll reload the view below the onboarding panel in all cases where step
1 or 2 is validated
See details in each commit message.
Task-3074112This change adds automated coverage to verify that helpdesk ticket totals and open ticket counts are calculated correctly for the selected customer. It helps reduce the risk of incorrect customer ticket information appearing in helpdesk workflows.
Original PR description
This commit add test case to check ticket count and open ticket count according to partner set on ticket. task-3049634
This update makes several small Helpdesk improvements, including cleaner ticket lists, clearer customer email wording, better coupon generation options, and more informative SLA policy names. It also allows internal users to open a ticket from a direct link even if they do not normally have Helpdesk access, improving collaboration when tickets are shared.
Original PR description
*_ = crm_helpdesk, helpdesk_mail_plugin, helpdesk_sale_loyalty, helpdesk_sale_timesheet Purpose of the commit is to do the following generic improvements for the helpdesk. - remove the 'kanban state' label and only display the colored dot in tree view. - ticket: reception acknowledgment' email template: changed message 'of' to 'for'. - added fields for generate coupons wizard in helpdesk_sale_loyalty. - added team name in the nameget of the SLA Policies field in product form view. - an internal user without helpdesk access right can able to view a ticket if he is provided with the URL of the ticket. task-2915992
Helpdesk and accounting digest KPIs are now calculated using the digest's assigned company, with a fallback to the current company when none is set. This improves accuracy in multi-company setups and speeds up KPI processing by calculating similar items together.
Original PR description
Purpose ======= Now, the KPI are computed based on their `company_id` and not based on the current company. If no company is set on the digest, we compute it based on the current company. The KPIs are computed based on their company. Most of the time, they will all belong to the same company so we can improve the performance by computing them in batch. Task-2827996
The Knowledge app now shows the Rename and Open buttons in embedded list and kanban views without a prominent background. This makes article embeds look more consistent in dark mode and reduces visual distraction for users.
Original PR description
This commit removes the background of the buttons `Rename` and `Open` that are specific to the embedded List and Kanban views for article items. This way in dark mode the buttons doesn't stand out as much as before and have a style similar to the buttons presents inside the embedded view by default (filter, groupby, favorites). task-3191812
Employee contract screens have been aligned across payroll, salary, work entry, and related Belgian fleet payroll areas. This makes contract information easier to find and use consistently, reducing confusion for HR teams working across multiple apps.
Original PR description
task - 3061227