-
- Downloads
[FIX] mail: set email_from in composer only if set
Some functional flows use sudo() to create records as current user is the public user. This user has no email. Since 1e6c3bec using sudo does not take superuser identity completely as it only bypasses access rights. It means some messages are created with public user as author, meaning no email_from. In this commit we fix some functional flows by setting a default email_from in the message composer only if a real email is found. Otherwise it will have to be set either by the template, either later in the process when creating messages or emails. closes odoo/odoo#34742 Signed-off-by:Thibault Delavallee (tde) <tde@openerp.com>
Loading
Please register or sign in to comment