diff options
| author | Thibault Delavallée <tde@odoo.com> | 2020-06-15 11:15:06 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-06-15 13:26:13 +0000 |
| commit | 89c006252718171c2d474ae3b8febc5031677af6 (patch) | |
| tree | 469f32bcb15ca18370ba575624cb3a31684bc3a9 /addons/mail/data | |
| parent | b2bd7adf4a9d515c13a6a73c4c76e1605dd2dc81 (diff) | |
[MOV] mail: move message technical template into data and correctly name assets file
Task ID 2265592
PR #
Diffstat (limited to 'addons/mail/data')
| -rw-r--r-- | addons/mail/data/mail_data.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/mail/data/mail_data.xml b/addons/mail/data/mail_data.xml index f7db5a78a0a..c8ee67f6603 100644 --- a/addons/mail/data/mail_data.xml +++ b/addons/mail/data/mail_data.xml @@ -350,6 +350,16 @@ </div> </template> + <template id="message_origin_link"> + <p> + <t t-if="edit">This <t t-esc="self.env['ir.model']._get(self._name).name.lower()"/> has been modified from:</t> + <t t-else="">This <t t-esc="self.env['ir.model']._get(self._name).name.lower()"/> has been created from:</t> + <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> + </p> + </template> + <!-- Mail gateway templates --> <template id="mail_bounce_catchall"> <div> |
