-
- Downloads
[FIX] mail: fix issue when posting a message on a document whose first message...
[FIX] mail: fix issue when posting a message on a document whose first message / parent is not readable How to reproduce ================ Have a portal user commenting a task on the customer portal. He may experience a crash if previous message / first message is not available, for example if it is internal or not published. This is due to reference computation used in outgoing emails as it is based on parent messageID. Accessing it crashes although it should not as it is used only for technical purpose. Fix === In this comme we fix that issue by browsing the reference message as sudo to access its messageID. A test is added to avoid regressions. Task ID 2061760 PR #36845 Signed-off-by:Thibault Delavallee (tde) <tde@openerp.com> Co-authored-by:
jpr-odoo <jpr@openerp.com>
Please register or sign in to comment