Monday, January 10, 2022
10 changes · master
Enhancements to existing features
Imported electronic invoices now choose the correct counterpart based on the invoice type instead of always treating them as vendor bills. This helps accounting firms and other users import customer and vendor documents more accurately, reducing manual corrections.
Original PR description
Currently, when importing an invoice, it is assumed that it is a vendor bill. But it is not always the case (accounting firms). This is why the invoice counterpart is now adapted based on the move_type. opw-2697984 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change improves an internal test for the mail activity popover so it better reflects how the feature is used in Odoo. It helps reduce false test failures and supports more stable ongoing development without changing the user-facing experience.
Original PR description
This PR make the activity popover test use the mock model and a chatter as component.
Mass mailing now lets authorized users turn off next-day mailing reports from the settings or directly from the report email. This reduces unwanted report emails while keeping reporting enabled by default for teams that still rely on it.
Original PR description
Purpose ======= Allow users with enough access rights to disable next-day report on mass mailing lists. The option has been added in the mass mailing settings and is enabled by default. Mass mailing reports can also be disabled with a "Turn off mailing reports" button in the report email itself. Reports are enabled and disabled for all responsible. Task-2692211
Event pages now show clearer countdown text for rooms, talks, and exhibitor connections, including a friendly “Starting now!” message when an item is about to begin or has just started. This helps visitors better understand timing and reduces confusing blank countdown labels like “in” or “ago.”
Original PR description
Purpose ======= Change weird formatting sometimes showing "In" or "ago" without displaying any text, give user better awereness of when a room/track starts or has started. Specifications ============= Change widget in website_event_meet to digital: False, display "Starting now!" if track starts/has started within less than 60sec, display info box showing when page was last refreshed. Task-2677865
This update lets Odoo open the main command palette with custom settings, such as a tailored placeholder or pre-filled search text. This makes the search and command experience more flexible for teams that want to adapt it to specific workflows or interfaces.
Original PR description
This commit adds the possibility to open the custom main command palette.
So it is possible to replace some parts of the default command palette
config.
For example, we will customize the placeholder:
```
this.command_service.openMainPalette({
placeholder: "My custom placeholder",
})
```
This commit also modify the api of CommandPaletteConfig, we replace
namespace by searchValue. Now it is possible to open a command palette
with a value in its input.
For example:
```
this.command_service.openPalette({
searchValue: "@test",
})
```
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-prThis update simplifies internal handling of messaging-related record actions so developers no longer need to manually connect certain methods during setup. It should reduce maintenance effort and lower the risk of future issues without changing day-to-day user workflows.
Original PR description
*: website_slides Task-2731656 Enterprise: https://github.com/odoo/enterprise/pull/23343
This update simplifies how mail dialogs and related attachment and follower views are handled behind the scenes. It helps make the messaging interface easier to maintain and less prone to technical issues, with no expected change to day-to-day user workflows.
Original PR description
Task-2092965 Task-2694206
Odoo no longer performs broad cleanup checks after rendering every page, reducing unnecessary work during page generation. This improves overall page response speed and prepares the platform for future streaming of page content to browsers.
Original PR description
This PR removes the two post processing operations applied on rendered templates. This speed up the rendering of every page. 1/ Don't remove empty lines after rendering, but fix the root cause of view inheritancies that was adding lots of empty lines. 2/ handle page break in the only report that uses it (financial reports in Enterprise), rather than parsing every QWeb view rendered to check if there is a page break. It's the first step to stream QWeb templates to highly improve the TTFB (Time to First Byte) and send the <head> to browser so that he can load assets while Odoo is still computing the "slow" content to render. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The VoIP activity code was improved so record actions no longer need extra manual setup behind the scenes. This reduces maintenance effort and helps make future VoIP updates safer and more reliable without changing day-to-day user workflows.
Original PR description
Task-2731656 Community: https://github.com/odoo/odoo/pull/82444
Page-break handling has been moved out of the general webpage rendering process and into the relevant accounting report logic. This keeps the behavior where it is needed while avoiding unnecessary processing for other pages, improving efficiency and maintainability.
Original PR description
Removed the data-page-break feature from QWeb: it's too specific to just one report, and will allow to not post-process every web page rendered.