Skip to content
Snippets Groups Projects
Commit fde4f096 authored by Yannick Tivisse's avatar Yannick Tivisse
Browse files

[FIX] mail: Clean residual context keys on _message_track_post_template


Purpose
=======

Clean the context to get rid of residual default_* keys
that could cause issues afterward during the mail.message
generation. Example: 'default_parent_id' would refer to
the parent_id of the current record that was used during
its creation, but could refer to wrong parent message id,
leading to a traceback in case the related message_id
doesn't exist

closes odoo/odoo#43405

Taskid: 2176445
Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent c4583cf8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment