'Render the raw template in the server action fields.'

@api.onchange('template_id')
def on_change_template_id(self):

    if (self.template_id and (not self.template_id.email_from)):
        raise UserError(_('Your    template    should    define    email_from'))
