Friday, March 4, 2022
10 changes · master
Enhancements to existing features
The Time Off form layout has been refined to make leave information easier to review, especially for managers. These small usability updates help managers process requests more clearly and efficiently without changing core time off rules.
Original PR description
Small changes in the layout of the hr_leave form view, mainly for the manager's view point Task : #2734842 [Time Off] ux changes
Odoo no longer relies on the hardcoded “postmaster-odoo” bounce address for outgoing email handling. This allows businesses to use their normal email aliases and mail servers more consistently, reducing special configuration assumptions.
Original PR description
Coming from odoo/odoo@a4597fe34fcfa8dae28b156410080346bb33af33 . This code is not necessary anymore since we better handle From, SMTP-From, as well as allowing mail server filtering. We can now use standard aliases and servers instead of relying on hardcoded value "postmaster-odoo". Task-2710804 (Mail: Clean MailThread API)
The pager component styling was simplified to make it easier to maintain and more consistent across the interface. The older pager version was also adjusted so users see the same visual behavior while the legacy component remains in use.
Original PR description
This PR simplifies the SCSS of the Pager component. After the revamp of the pager, the Legacy Pager was broken because it used the same SCSS file. This commit adds some BS classes on the Legacy Pager to keep consistency between both versions while waiting for the removal of the legacy one. task-2733437
This update removes an older workaround in Mail screens that is no longer needed because the underlying platform now handles these fields directly. It simplifies maintenance without changing expected business workflows or user-facing behavior.
Original PR description
Revert of https://github.com/odoo/odoo/commit/d3f6c3b579f39b313401c63d97b95ce690501591. Cleanup. The JS has already been adapted to many2one_reference fields. **Description of the issue/feature this PR addresses:** Commit https://github.com/odoo/odoo/commit/d3f6c3b579f39b313401c63d97b95ce690501591 was done as a quick fix, before the framework actually made that field type globally supported. But nowadays, the framework has been adapted already. Thus, we can revert that commit as there is no need to specify the widget manually in those cases anymore. 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
The mail app’s live communication recovery logic was reorganized to make reconnection timing easier to maintain. This is an internal improvement that should help future reliability work without changing the user experience directly.
Original PR description
Task-2734101
This update removes old database shortcuts that are no longer needed for the mail composer. The change simplifies the underlying mail setup and may slightly reduce maintenance overhead without changing user-facing behavior.
Original PR description
Those indexes probably come from previous implementation of composer model when it was inheriting from mail.message. It was also inheriting from the custom search / read manual ACLs implementation doing some SQL directly to check access. Those indexes should not be necessary anymore as anyway this is a transient model. Prepares Task-2088884 (MailComposer: Onchange to editable computed stored)
This update improves how Odoo Mail manages audio call disconnection monitoring behind the scenes. It helps make real-time communication behavior easier to maintain, with minimal direct impact on day-to-day users.
Original PR description
Task-2734101
This update adds and strengthens automated checks for Field Service project creation across multiple companies. It helps ensure the correct projects and pricing behavior continue to work reliably as the product evolves.
Original PR description
Before these changes:
- The feature mentioned in the title was not unit tested
After these changes:
- A Unit Test added with this scenario:
1) Assert first company is created with Field Service project
2) Add second company and assert second Field Service project is created
3) Create new user with allowed_company_ids = [first_company, second_company]
4) Get Field Service Project with the 2 companies and assert project display name has this format "Field Service - {Company Name}"
Task-2783686The Time Off request form layout has been adjusted to make it easier for managers to review and act on leave requests. These small usability improvements help managers find key information more quickly and handle approvals more smoothly.
Original PR description
Small changes in the layout of the hr_leave form view, mainly for the manager's view point Task : #2734842 [Time Off] ux changes
The VoIP calling tools were updated to use a newer internal communication approach, reducing reliance on older framework components. This prepares the feature for future improvements while helping keep call-related behavior stable and easier to maintain.
Original PR description
Replace `trigger_up`s in `user_agent.js` with bus events. The reason for this change is to remove the dependency of the user agent on the legacy EventDispatcher to allow it to be rewritten as a model.