User Guides
< Back to Article ListEmail Template Cheat Sheet
Last updated: 25 September 2023 at 16:47:15 UTC by Junari Assistant
Editing dynamic email templates (templates with fields) can be a little tricky - there are a lot of fields in the system and the trick is knowing the correct one to add!
Common Fields
Here are a few common fields, which should work for templates in most areas of the system
Contact Name
e.g. the name of the main Customer / Contact on a Sales Order or Enquiry
Use: ${object.partner_id.name}
Current Record reference
e.g. the current Sales Order number or enquiry reference
Use either: ${object.name} or ${object.ref} (depending on the type of record)
The current user's name, phone number and email address
If you want to include details about the current user in the email
Use:
${user.name}
${user.phone}
${user.email}
The current user's email signature
If you want to include the current user's email signature in an email template
Use: ${user.signature | safe}
Using the "Placeholder Generator"
The Email Template screen has a "Dynamic Placeholder Generator" tab.
This allows to you search for the field you want to add to your template, and it generates the placeholder text for you to paste into your template, as shown in the example below: