[FIX] mail_group: avoid "Re: False" reply
If the subject is not set, the wizard set the subject as "Re: False" closes odoo/odoo#80372 X-original-commit: 169775419e0f14723c19ff5f14e0907c179721d9 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
@@ -19,7 +19,7 @@ class MailGroupMessageReject(models.TransientModel):
|
||||
@api.depends('mail_group_message_id')
|
||||
def _compute_subject(self):
|
||||
for wizard in self:
|
||||
wizard.subject = _('Re: %s', wizard.mail_group_message_id.subject)
|
||||
wizard.subject = _('Re: %s', wizard.mail_group_message_id.subject or '')
|
||||
|
||||
@api.depends('body')
|
||||
def _compute_send_email(self):
|
||||
|
||||
Reference in New Issue
Block a user