Friday, November 6, 2020
4 changes · master
Enhancements to existing features
Users can now search and filter records by activity status, such as overdue, due today, or planned. This makes it easier for teams to find and prioritize work based on upcoming or missed activities, with timezone-aware results.
Original PR description
Purpose ======= Make the "activity_state" searchable on the "mail.activity" mixin. This field is not stored as it depends on the current time. Technical ========= To make the search, we perform a SQL query. The "activity_state" depends on the state of each activities on the record. And this state also depends on the timezone of the user of the activity. That's what made things tricky and we need to make the conversion in SQL for performance purpose (we can not fetch all records and compute them in python). There's a special case, where there's less than 24 hours between the deadline and the current time but one day of difference. In that case the state should be "planned" and not "today". This case is handle by the function "DATE_TRUNC" (e.g. 23h 01/01/2020 & 1h 02/02/2020). Also for performance purpose, we compute the delay only once and we use the function "SIGN" so we can use a switch/case instead of duplicating 3 times the expressions. Task 2354754
The Notes app form view has been restyled to use more of the available screen space, removing the visible sheet-like framing and resizing controls. This gives users a cleaner, wider writing area while keeping compatibility with existing Odoo form and chatter behavior.
Original PR description
   --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update increases the padding around text block and title snippets on website pages. The added spacing helps content look cleaner and easier to read when building or editing pages.
Original PR description
task-2327741 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
Supplier bank account choices now include the bank name during payment selection. This makes it easier for users to pick the correct account when a supplier has multiple bank accounts.
Original PR description
Description of the issue/feature this PR addresses: When you make a payment, if a supplier have multi bank account, the bank name is not show in the selection. With the bank name it is more simple to find the good bank account (if you know the bank). Current behavior before PR:  Desired behavior after PR is merged:  @qdp-odoo @alexis-via -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr