Email Queue Manager 1 hours -1 Update Notification 1 weeks -1 1000 none mail.catchall.alias catchall Discussions Note Notification Email ${object.subject or (object.record_name and 'Re: %s' % object.record_name) or (object.parent_id and object.parent_id.subject and 'Re: %s' % object.parent_id.subject) or (object.parent_id and object.parent_id.record_name and 'Re: %s' % object.parent_id.record_name)}
% if ctx.get('button_access'): % endif
% if not ctx['is_discussion'] or not len(ctx['actions']) == 0 or ctx.get('is_accessible'):
${user.company_id.name}

% if ctx.get('button_access') or ctx.get('button_follow') or ctx.get('button_unfollow'): ${ctx['button_access']['title']} % endif % if ctx.get('button_follow'): % if ctx.get('actions'): | % endif ${ctx['button_follow']['title']} % elif ctx.get('button_unfollow'): % if ctx.get('actions'): | % endif ${ctx['button_unfollow']['title']} % endif % if ctx.get('actions'): | % for action in ctx['actions']: ${action['title']} % endfor % endif


% else:
% if not ctx['is_discussion'] or not len(ctx['actions']) == 0: ${object.body | safe} % if ctx.get('tracking'):
    % for tracking in ctx['tracking']
  • ${tracking[0]} : ${tracking[1]} -> ${tracking[2]}
  • % endfor
% endif % else: ${object.body | safe} % if ctx.get('tracking'):
    % for tracking in ctx['tracking']
  • ${tracking[0]} : ${tracking[1]} -> ${tracking[2]}
  • % endfor
% endif % endif
% if not ctx['is_discussion'] or not len(ctx['actions']) == 0:
% else:
% if ctx.get('signature'): % if not ctx['is_discussion'] or not len(ctx['actions']) == 0: ${ctx['signature'] | safe} % else: ${ctx['signature'] | safe} % endif % endif % if not ctx['is_discussion'] or not len(ctx['actions']) == 0: Sent by % if ctx.get('website_url'): % endif ${ctx.get('company_name')} % if ctx.get('website_url'): % endif using Odoo % else: Sent by % if ctx.get('website_url'): % endif ${ctx.get('company_name')} % if ctx.get('website_url'): % endif using Odoo % endif
]]>