diff options
| author | Odoo's Mergebot <robodoo@odoo.com> | 2020-08-28 16:10:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-28 16:10:36 +0200 |
| commit | 67da65cf77338d4e110e0a5edc3dd4cbf411f753 (patch) | |
| tree | c3cccfed270554d77ceb88a127f4f27c8dbcc2e8 /addons/website/models | |
| parent | 1c862bb558cbdf67a87987f9a539e3f3248c588f (diff) | |
| parent | fe27f9fe0cf9581c15a2a9e45125abe82dd303ad (diff) | |
[MERGE] mail, various: improve follower subscription in gateway
SPECIFICATIONS: MAIL GATEWAY
Document creation or update is still done without auto subscribe. Indeed user
running mailgateway or owning alias is not necessarily linked to the email
author. That way we avoid auto subscription of irrelevant people.
Posting message based on incoming email is now allowing auto subscription if
there is an author found during email parsing. We also ensure this author is
not root, to be sure he is not added in followers of documents.
SPECIFICATIONS: INACTIVE PARTNERS
Tested flows
* posting a message through an inactive partner (like automated actions
posting a message on behalf of an inactive partner);
* automatic subscription based on parent record (like an archived user and
partner following a project that should not be added as follower of sub
tasks);
* automatic subscription based on responsible field: this is already fixed
as user has to be active to receive a notification and be added in
followers;
LINKS
Task ID-2326281
PR odoo/odoo#56560
Closes to odoo/odoo#38383
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website/models')
0 files changed, 0 insertions, 0 deletions
