diff options
| author | Ravi Gohil <rgo@odoo.com> | 2015-01-21 12:23:35 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2015-01-21 12:30:34 +0100 |
| commit | 2acad603918c102682906e64ccb9bb3062df034c (patch) | |
| tree | 3b5f0b917291fb0c8da6d211b2a1c2698f6d84b7 /addons/gamification/data | |
| parent | 01c713aab0b9d6610c53ddc269f30c4e6a3d480b (diff) | |
[FIX] gamification: translatable email notification
This requires a manual update/migration for existing template. opw 619786
Diffstat (limited to 'addons/gamification/data')
| -rw-r--r-- | addons/gamification/data/badge.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/gamification/data/badge.xml b/addons/gamification/data/badge.xml index 062e42f501a..562f720fe4d 100644 --- a/addons/gamification/data/badge.xml +++ b/addons/gamification/data/badge.xml @@ -44,6 +44,8 @@ <record id="email_template_badge_received" model="mail.template"> <field name="name">Received Badge</field> + <field name="model_id" ref="gamification.model_gamification_badge_user"/> + <field name="lang">${object.user_id.lang}</field> <field name="body_html"><