summaryrefslogtreecommitdiff
path: root/addons/mail/views/mail_templates.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/views/mail_templates.xml')
-rw-r--r--addons/mail/views/mail_templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/views/mail_templates.xml b/addons/mail/views/mail_templates.xml
index 15cd3f50e60..4b3c61dcdb6 100644
--- a/addons/mail/views/mail_templates.xml
+++ b/addons/mail/views/mail_templates.xml
@@ -146,7 +146,7 @@
</template>
<template id="message_origin_link">
- <p>This <t t-esc="self._description.lower()"/> has been <span t-if="edit">modified</span><span t-if="not edit">created</span> from:
+ <p>This <t t-esc="self.env['ir.model']._get(self._name).name.lower()"/> has been <span t-if="edit">modified</span><span t-if="not edit">created</span> from:
<t t-foreach="origin" t-as="o">
<a href="#" t-att-data-oe-model="o._name" t-att-data-oe-id="o.id"> <t t-esc="o.display_name"/></a><span t-if="origin.ids[-1:] != o.ids">, </span>
</t>