Friday, November 22, 2024
7 changes · master
Enhancements to existing features
The point of sale eWallet action now gives a more helpful message when a customer is missing. This helps cashiers understand what to fix faster, reducing confusion during checkout.
Original PR description
Description of the issue/feature this PR addresses: - At this moment, we have only one error dialog appearing when facing an issue with the "eWallet" action button. This dialog warn the user to select a valid eWallet. But the issue could be that the user forgot to set a customer first. Current behavior before PR: Desired behavior after PR is merged: - Improve the quality of the error message for the user by warning him to add a valid customer. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update changes how Odoo validates interface view definitions so the check can be run only when needed instead of automatically depending on hidden context. This supports more predictable validation behavior and prepares the system for future consistency improvements.
Original PR description
Constraints that depend on the context should not be declared using `@api.constrains` because we would like to make them context independent in the future. We update the `_check_xml` function here and call it manually when needed. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update strengthens internal testing around how Odoo identifies contacts from email recipients and suggests default recipients in mail workflows. It also fixes CRM lead contact and company name handling so suggested recipients create more accurate customer records.
Original PR description
Add some test on mail.thread API internals. Add tests for record-based '_mail_find_partner_from_emails', notably to highlight its limitations in term of ordering, partner choice, duplication avoid, ... Some tests are commented as they will be fixed in future changes. Regroup tests in the same class for suggested recipients and default recipients. Prepares Task-4332797 : [mail] Partner from emails 3.0 Prepares Task-4273479 : [mail] Email-like recipients
Referral rewards are easier to browse and manage: reward cards now show the award image, the reward list includes the Gift Responsible, and the buying message is clearer. These updates help HR teams and employees better understand reward options and ownership at a glance.
Original PR description
1. Show the image of the award in kanban view. 2. Add `Gift Responsible` to reward list view. 3. Update the reward buying message. task-4296804
Lithuanian payroll rules now calculate taxable and sick-pay amounts directly inside the relevant salary rules instead of relying on a hidden payslip method. This makes payroll calculations easier to review, maintain, and validate without changing the intended business outcome.
Original PR description
Problem ---------- The method "payslip._get_l10n_lt_taxable_amount" is used in salary rules that makes the computation non-transparent. Objective ---------- Put this method in the python code field of salary rules directly Solution ---------- Done, with the sick argument removed. task-4134314
Helpdesk tickets submitted through the website no longer show the automatic “external submission” text as if it were a message from a private user. The information is still kept as an internal note and in the ticket description, reducing confusion for support teams.
Original PR description
[IMP] website_helpdesk: remove 'external submission' from messages Before this commit: - When submitting a ticket through the web form, 'external submission' is displayed as a message from 'private user' and as a note. But, the private user haven't really send any message. After this commit: - Keep the information only as a note and in the description. task-4216270
Web Studio's automated tests were updated to use a newer testing approach, replacing older test utilities. This is an internal quality improvement that helps maintain reliability without changing day-to-day user features.
Original PR description
This commit aims to convert QUnit tests to hoot that rely on legacy mail tests utils and legacy bus tests utils. Part of task-3818666