summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/debug.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-01-13 13:11:59 +0000
committerThibault Delavallée <tde@odoo.com>2020-03-03 16:25:01 +0000
commit48d884678cc57ac3d3d350ceb13a208e921f9046 (patch)
tree1ebf1eaefe0ded9b53d5430795be5da2afbae8fa /addons/web/static/src/xml/debug.xml
parent68a457e17491ac90e3b806178eefc4b7150d176b (diff)
[FIX] mail: route only to other models when routing a forward
When mailgateway receives an incoming email being a reply to a thread but containing a recipient being an alias linked to another model, it is considered as a forward to that new alias. It therefore skips the reply step in routing and applies rules related to new thread, aka checking all recipients. Consider this use case: receives a email on a task from "project@domain" project being the alias of the project which creates new tasks when not routing replies. Reply / forward it to "project@domain, sales@domain" in order to transfer it to the sales team (sales alias creates new leads). As this is a forward, both aliases are evaluated, leading to a new task and a lead which is not what we expect. We solve this issue by removing alias linked to the ignored reply model when considering recipients. PR #46764 Task ID 2121551 closes odoo/odoo#46784 X-original-commit: 7cff7787cb42cc9d3d0cb4c5af41a9f09d59d1ff Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/xml/debug.xml')
0 files changed, 0 insertions, 0 deletions