Monday, March 20, 2023
9 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
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
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
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 
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
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.