From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- addons/gamification/views/mail_templates.xml | 55 ++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 addons/gamification/views/mail_templates.xml (limited to 'addons/gamification/views/mail_templates.xml') diff --git a/addons/gamification/views/mail_templates.xml b/addons/gamification/views/mail_templates.xml new file mode 100644 index 00000000..e8a6a6a3 --- /dev/null +++ b/addons/gamification/views/mail_templates.xml @@ -0,0 +1,55 @@ + + + + + User: New rank reached + + New rank: ${object.rank_id.name} + + ${object.partner_id.id} + +
+ + + + + + + % if user.signature + + + + % endif + +
+

+ Congratulations + ${object.name or ''}! +

+

+ You just reached a new rank : ${object.rank_id.name} +

+ % if object.next_rank_id.name +

Continue your work to become a ${object.next_rank_id.name} !

+ % endif +
+ % set gamification_redirection_data = object.get_gamification_redirection_data() + % for data in gamification_redirection_data + % set url = data['url'] + % set label = data['label'] + ${label} + % endfor +
+
+

+ +

+
+ ${user.signature | safe} +
+
+ ${object.lang} + +
+
+
-- cgit v1.2.3