A change introduced in https://github.com/odoo/odoo/pull/84644 removed the 'token' variable from a call to the `portal.message_thread` template, which created a bug where a portal user trying to submit a comment to a task would encounter an "Access Denied" error. This commit reverts that change. Task-2832688 closes odoo/odoo#89643 X-original-commit: 29c9eb4d65280dc5b23c89207dd7c2caa6ced596 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com> Signed-off-by: Xavier <xbo@odoo.com>