summaryrefslogtreecommitdiff
path: root/addons/gamification/data/gamification_karma_rank_data.xml
AgeCommit message (Collapse)Author
2019-03-08[IMP] gamification : move rank demo data into dataDavid Beguin
In order to se the 'next rank card' and the user karma on user's profile page, not only the first rank is needed but also higher ranks. Otherwise everyone will be 'Newbie', even the admin. Moreover it is easier to update existing data for things like rank than having to figure out how it works. Task ID : 1941250 PR #31697
2019-03-06[FIX] gamification, website_profile : re-fix division by zero if user has no ↵David Beguin
karma If a new user try to access the elearning platform or his porfile, if he has no karma, has it is the case for new users, he won't get any rank. So that the next rank karma minus current rank karma equals zero. To avoid this, next_rank will always be first one existing if the user has no karma. Also, the current rank will not be displayed if the user has no karma. finally, next rank will not be displayed if the user reached the last existing rank. Task ID : 1941250 PR #31512
2019-02-15[REF] gamification: clean next rank motivational implementationThibault Delavallée
Purpose of this commit is to clean motivational capabilities of gamification ranks[1]. It makes more sense to store a motivational to achieve on next rank itself. We therefore rename the field and provide nice demo data that will be used in elearning use of gamification ranks. Commit linked to task ID 1941250 and PR #31133. [1] task ID 1922159 (landed at 91ee6ba5a72fc961227ab1e4ba301c3920c10112)
2019-02-15[IMP] gamification, website_slides: add challenges in slides and improve ranksThibault Delavallée
Purpose of this commit is to add challenges related to slide / elearning module. 5 new challenges with their badges are added. Portal user partner is now also published to have bioutifoul demo data. Commit linked to eLearning tasks [1][2] Co-Authored-By: David Beguin <dbe@odoo.com> Co-Authored-By: Thibault Delavallee <tde@odoo.com> [1] new homepage task: ID 1936153 and PR #30770 [2] new user profile / gamification task: ID 1922159 and PR #30514 and #30988
2019-02-12[MOV] gamification, website_forum : move karma data and demo in gamificationDavid Beguin
As gamification karma-based features can be used outside of forum let us move demo and data directly in gamification. It will be used notably for eLearning.
2019-02-08[IMP] gamification : rename rank.karma_required into karma_min for grep ↵David Beguin
convenience Rename rank.karma_required into karma_min to avoid confusion with karma_required from website_forum Linked to Task ID : 1922159 Closes PR #30965
2019-02-07[IMP] gamification : add ranks based on karmaDavid Beguin
To encourage forum and slides users to be more active ranks are now added. They are directly linked to karma. The more the user has karma the more his rank will be high. The default rank is Newbie, with 1 point of karma. Users with 0 karma are considered as inactive on forum or slides. When a user reach a new rank a mail is sent to him to congratulate him with his new rank. To add a button in the mail template to allow users to go directly on a website section (like forum or slides) simply override get_gamification_redirection_data to add the target url. Partial commit linked to eLearning project. Main specifications related to gamification and user profile can be found on task 1922159 (PR #30514). Main specifications related to eLearning can be found on task 1902304 (PR #29876).