Wednesday, January 13, 2021
2 changes · master
Enhancements to existing features
This update reorganizes and simplifies internal mail and discussion channel tests so they are easier for maintainers to understand and update. It does not change customer-facing behavior, but it helps keep future mail-related changes safer and more reliable.
Original PR description
Purpose of this commit is to move moderation tests directly into mail channel test file. That way it is easier to maintain or update them as they are linked to that specific model and not global to mail.thread. Also containing * remove unnecessary tests or merge tests belonging to the same category; * make tests more readable; Followup of odoo/odoo@e9571a4 Followup of odoo/odoo@1fadb3ec5d8d9c87888d6c814a6c9e65ae0a9f4a Task ID-2421795 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
Mail channel moderation tests were reorganized to better reflect everyday user scenarios and permission rules. The update also improves related notifications and user-facing error messages, making moderation behavior clearer and more reliable.