Monday, March 20, 2023
15 changes · master
Enhancements to existing features
Employee forms now only show related shortcut buttons when there are records to open. This reduces confusion and helps users focus on relevant attendance, timesheet, training, and work entry information.
Original PR description
Don't show smartbuttons that lead to a view without records task - 3134772
The point of sale reward selection popup now shows which loyalty program each reward belongs to. This helps cashiers choose the right reward more confidently when multiple programs are available.
Original PR description
Before this PR, the name of the program from which an award comes was not displayed in the selection popup. TaskId: 3069449 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Notification emails now translate buttons, access links, and signatures using each recipient's preferred language instead of the sender's language. This improves clarity for multilingual recipients and makes automated email communication feel more localized and professional.
Original PR description
Description of the issue/feature this PR addresses: The buttons, the access links and the signature of the email are not properly translated in the language of the recipients. Current behavior before PR: These components are translated in the language of the user who wrote the email (i.e: in the language of the context). Desired behavior after PR is merged: These components will be translated in the language of each recipient. Task id: 2555155
Employee badge PDF downloads now use a shorter, clearer file name: "badge - employee name" instead of "print badge - employee name". This makes downloaded badge files easier to identify and organize for HR users.
Original PR description
before this commit, on printing employee badge the download pdf file is named print badge - employee name after this commit, the downloaded file name will be changed to badge - employee name --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The mail app now calculates recent conversation activity when needed instead of storing it separately. This keeps the underlying data simpler and helps reduce the chance of outdated activity information being used.
Users can now mark mail and Discuss messages as unread, making it easier to return to important conversations later. This improves day-to-day message management and helps users keep track of items that still need attention.
Original PR description
task-3232911
This update simplifies how mail conversation display preferences are handled internally. It helps make the mail experience easier to maintain and less prone to inconsistent behavior, with minimal direct impact for users.
Time-off accruals now ignore future planned leave when calculating how many days an employee should earn. This prevents employees from temporarily scheduling future leave to inflate their accrual balance, while still allowing dashboards to show future leave where appropriate.
Original PR description
As it is now, an accrual gives days up until the limit of the current accrual plan. The computation decides how many days to add based on that limit and current allocated days - leaves_taken. Leaves_taken is all leaves taken in the past or in the future, that could be linked to the accrual. This means an employee can plan a leave in the future, which he does not intend to take, just to get more days from the accrual system. This commit introduces a boolean to pass to the main calculation function, to tell it to take into account or not the leaves in the future, because other parts of the system ( like the available time-off you can see in your dashboard ) do need to take into account future leaves. this closes task 3207843
Message actions in Mail now appear in a compact layout by default, showing key options like reactions, reply, and more actions. This makes conversations easier to scan and keeps common controls accessible without cluttering the interface.
Original PR description
- Message options always compact by default - when compact: reaction, reply, more Task-2362261
The mail emoji picker now shows recently used emojis, making it quicker for users to reuse their preferred reactions and symbols. This improves day-to-day messaging convenience by reducing the time spent searching for common emojis.
Original PR description
Task-2982627 
Product quantities on the e-commerce checkout page now appear without unnecessary decimal places. This makes the order review clearer for shoppers and reduces visual clutter during checkout.
Original PR description
Decimals were displayed in the quantity of products bought in the checkout page, which is not necessary. task-3135936
Customer records now include a shortcut showing the active loyalty cards linked to that customer. This helps sales and point-of-sale teams quickly review customer rewards without searching through loyalty records manually.
Original PR description
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
When multiple bank statements are imported together, valid statements are now processed even if another file has an error. Users receive either a success redirect, an error if all imports fail, or a warning listing failed files with access to the successfully imported statements.
Original PR description
Currently, when importing multiple bank statements, if one of them has an error, we block the others. With this commit, we will process all the statements and, if applicable, show an error message at the end. This allows correct statements to be imported even if one in the batch is failing. Therefore, we now have three flows: - Everything went smoothly, we can redirect the user to correct view - All the imports failed, we show an error - At least one import succeeded and at least one failed, we display a warning message containing the names of the attachments that were not imported and show an option to view the ones that were correctly imported task id 2747359
Employee screens now hide payroll and planning shortcut buttons when there are no related records to show. This reduces confusion by preventing users from opening empty views and keeps the interface focused on relevant actions.
Original PR description
Don't show smartbuttons that lead to the view without records task - 3134772
Australian KeyPay payroll tax lines can now be linked to the correct invoice taxes, making payroll-related invoicing more accurate and easier to reconcile. The update also improves date handling for KeyPay lock dates so records align better with KeyPay’s timezone behavior.
Original PR description
- Map KeyPay payroll tax lines to invoice taxes. - The taxes will map l10n_au_kp_tax_identifier to KeyPay tax code.