Thursday, October 14, 2021
3 changes · master
Enhancements to existing features
Odoo now limits repeated incoming emails from the same sender within a configurable time window, helping prevent endless back-and-forth with auto-reply systems. This reduces mail clutter and system load while preserving normal replies with higher thresholds for active conversations.
Original PR description
Purpose ======= Some situations can cause emails loop. In example, if a auto-replier is set and send email to the catchall email address, Odoo will respond "You can not contact the catchall email…
Purpose ======= Some situations can cause emails loop. In example, if a auto-replier is set and send email to the catchall email address, Odoo will respond "You can not contact the catchall email directly". And the auto-replier will send again an email, etc. Specifications ============== To solve this issues, we add 3 system parameters - <mail.incoming.limit.period>, 60 minutes by default - <mail.incoming.limit.alias>, 5 by default - <mail.incoming.limit.replies>, 90 by default So, when we receive an email, 3 situations can occur. 1. The email is sent to an alias and a record will be created. In that case, we look on the last record created <mail.incoming.limit.period> minutes ago. If we overcome <mail.incoming.limit.alias> the email is ignored. 2. The email is sent to an existing mail thread. In that case, the limit is set with the <mail.incoming.limit.replies> parameters (so we can have a bigger limit for the replies than for the alias). 3. The email is not routed. In that case we create a unrouted message and the alias limit is used. Task 2294034
The forum question page has been made clearer and easier to manage, with better page naming, smarter tooltips, and warnings when users try to submit empty questions or answers. Moderators also get direct actions to validate flagged questions or mark them as offensive from the question page, reducing extra navigation.
Original PR description
purpose Misc improvements on Forum specifications - Change title of new question page from 'new_question' to 'New Question'. - Display tooltip "only one answer per question is allowed" only for question- answer type of forum. - Prevent the user with the warning popup to submit his question or answer without description . - Once the question is flagged, add two options for it: 'Validate' and 'Mark as Offensive'. So, directly can validate or submit with flagged reason from question page. - Add a new tour for flag a question and show how to validate or submit flagged reason of question from question page. task-2167561 Closes #45352
Resolved issues and error corrections
This fixes cases where a previously opened action could reuse outdated session context after changes such as switching companies. Users should now see screens and data filtered according to their current user settings after a browser reload.
Original PR description
the context of an action stored in session overrides user context 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