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/website_slides/data/gamification_data.xml | 207 +++++++++++++++++++++++ 1 file changed, 207 insertions(+) create mode 100644 addons/website_slides/data/gamification_data.xml (limited to 'addons/website_slides/data/gamification_data.xml') diff --git a/addons/website_slides/data/gamification_data.xml b/addons/website_slides/data/gamification_data.xml new file mode 100644 index 00000000..41fcd7a3 --- /dev/null +++ b/addons/website_slides/data/gamification_data.xml @@ -0,0 +1,207 @@ + + + + + + Get started + Register to the platform + + + bronze + nobody + + + Get started + Register to the platform + count + boolean + + higher + [ + ('active', '!=', False), + ('karma', '>', 0), + ] + True + + user.id + + + Register to the platform + slides + once + personal + never + + True + [('karma', '>', 0)] + inprogress + + + + + 1 + + + + + Know yourself + Complete your profile + + + bronze + nobody + + + Know yourself + Complete your profile + count + boolean + + higher + [ + ('partner_id.country_id', '!=', False), + ('partner_id.city', '!=', False), + ('partner_id.email', '!=', False) + ] + True + + user.id + + + Complete your profile + slides + once + personal + never + + True + [('karma', '>', 0)] + inprogress + + + + + 1 + + + + + Power User + Complete a course + + + silver + nobody + + + Power User + Complete a course + count + boolean + + higher + [ + ('completed', '=', True) + ] + True + + user.partner_id.id + + + Complete a course + slides + once + personal + never + + True + [('karma', '>', 0)] + inprogress + + + + + 1 + + + + + Certified Knowledge + Get a certification + + + gold + nobody + + + Certified Knowledge + Get a certification + count + boolean + + higher + [ + ('completed', '=', True), + (0, '=', 1) + ] + True + + user.partner_id.id + + + Get a certification + slides + once + personal + never + + True + [('karma', '>', 0)] + inprogress + + + + + 1 + + + + + Community hero + Reach 2000 XP + + + gold + nobody + + + Community hero + Reach 2000 XP + count + boolean + + higher + [ + ('karma', '>=', 2000) + ] + True + + user.id + + + Reach 2000 XP + slides + once + personal + never + + True + [('karma', '>', 0)] + inprogress + + + + + 1 + + -- cgit v1.2.3