Monday, February 26, 2024
4 changes · 17.0
Resolved issues and error corrections
Calendar entries in the Year view now use the correct visual styles to distinguish pending approval and refused leave from approved leave. This reduces confusion for HR users reviewing time off statuses at a glance.
Original PR description
During the revamp, in commit 97fea91a570d2bb8a0d454be9cbe7ea4269f6699, the classes `.o_event_hatched` and `.o_event_striked` were removed by mistake. This causes confusion with the status of the events in the Year view of the `hr_holidays` module. According to the legend and the visual style of the events, they look like they are all validated when they are actually "To Approve" or "Refused". | Before| After| |-----|-----| |  | | task-3617333 part of task-3575827 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A test in the sales loyalty delivery module was failing because it referenced a product type that is no longer available after a recent code change. The fix updates the test to use a consumable product type instead, ensuring the test runs correctly when the module is tested independently.
Original PR description
Since https://github.com/odoo/odoo/commit/a54c304487429139c08f384d7b2b620b50cf6f83, sale_loyalty_delivery does not depend on stock anymore. So, the type 'product' (and detailed_type) is not added to the selection. The test does not fail on runbot because the module is never tested alone. We should just change it to type 'consu'. 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 Forward-Port-Of: odoo/odoo#155166
The translation template file for Odoo's base module has been updated to reflect the latest text strings in the system. This ensures that translators have the most current content to work with when localizing Odoo into different languages, improving the quality and completeness of translations across all supported languages.
Original PR description
Export pot of base module Entreprise: https://github.com/odoo/enterprise/pull/57503
Miscellaneous changes
Before this commit user was not able to sort if list was grouped by date with granularity(['date:day']). Steps to reproduce: - open list view of all timesheets and group it by 'date:day' - click on 'Date' column of list view Observed behavior: After clicking on 'Date' column, groups will not be sorted. Expected behavior: After clicking on 'Date' column, groups should be sorted. After this commit user will be able to sort column even if list is grouped by date with granularity
Original PR description
Before this commit user was not able to sort if list was grouped by date with granularity(['date:day']). Steps to reproduce: - open list view of all timesheets and group it by 'date:day' - click on 'Date' column of list view Observed behavior: After clicking on 'Date' column, groups will not be sorted. Expected behavior: After clicking on 'Date' column, groups should be sorted. After this commit user will be able to sort column even if list is grouped by date with granularity(['date:day']). Task-3446315 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#152413