Monday, August 23, 2021
7 changes · master
Resolved issues and error corrections
This fix helps purchase-related stock records reuse existing system information when recalculating linked fields. It avoids an expensive lookup, improving performance during purchase and stock updates without changing user-facing workflows.
Original PR description
Adding this non-stored Many2many fields allows ORM to use cache in `_modified_triggers` and skip costly search: ``` records |= model.search([(key.name, 'in', real_records.ids)], order='id') ``` --- opw-2507143 similar update in accounting: #73884 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
Corrects how the web mock server reads and displays certain dates, including quarter-based dates and ISO week-year formats. This helps keep automated web tests accurate and prevents date-related test failures after the date library migration.
Original PR description
On 00e3cb74c44565b2106dba6befac2b6f8512eede the migration of the code to parse and formate dates on the mock server from moment to luxon was done. Two issues were introduced on that commit: Parsing a date displayed on quarter wasn't possible; And the ISO week year wasn't used to format the date, but it was used to parse the date, for symmetry's sake, now the ISO week year is used on both.
Email marketing reports now group and filter results using the correct field. This helps users see more accurate campaign reporting and avoids misleading analysis when reviewing mailing performance.
Original PR description
Oversight of odoo/odoo@f16dbbcaecb7d46aefd3451eab2082316e8b0eec
This update fixes a date-related issue in the HR Appraisal test suite that could cause failures on certain days of the month. It helps keep automated checks stable without changing employee appraisal functionality.
Original PR description
2021-08-23 - 6 months + 6 days = 2021-03-01
duration_after_recruitment = 6
-> domain computed
```
'&',
('create_date', '>', '2021-01-31'),
('create_date', '<=', '2021-02-28')
```This update aligns several business apps with a shared change that improves how activity types are referenced and accessed. It helps keep reminders, approvals, documents, subscriptions, and other workflows working consistently after the underlying platform update.
Original PR description
Enterprise part of odoo/odoo#74981
The referral app’s progress bar styling has been narrowed so it only applies where intended. This prevents the shared progress layout from accidentally changing the appearance of unrelated screens, improving visual consistency across the system.
Original PR description
This commit fixes the hr_referral scss by conditioning the style applied on the progress class to its own use cases. Indeed, the progress class is a global class and adding rules to it may break other layouts. Task-2567591
Helpdesk tickets now hide SLA-related fields when SLA tracking is turned off. This keeps ticket screens cleaner and prevents users from seeing irrelevant service-level information.
Original PR description
task - 2579066