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_forum/data/badges_question.xml | 399 ++++++++++++++++++++++++++ 1 file changed, 399 insertions(+) create mode 100644 addons/website_forum/data/badges_question.xml (limited to 'addons/website_forum/data/badges_question.xml') diff --git a/addons/website_forum/data/badges_question.xml b/addons/website_forum/data/badges_question.xml new file mode 100644 index 00000000..1da47fa2 --- /dev/null +++ b/addons/website_forum/data/badges_question.xml @@ -0,0 +1,399 @@ + + + + + + + + Popular Question + Asked a question with at least 150 views + bronze + nobody + + + Popular Question (150) + Asked a question with at least 150 views + count + boolean + + [('parent_id', '=', False), ('views', '>=', 150)] + higher + True + + user.id + + + Popular Question + once + personal + never + + True + [('karma', '>', 0)] + inprogress + forum + + + + + 1 + + + + + Notable Question + Asked a question with at least 250 views + silver + nobody + + + Popular Question (250) + Asked a question with at least 250 views + count + boolean + + [('parent_id', '=', False), ('views', '>=', 250)] + higher + True + + user.id + + + Notable Question + once + personal + never + + True + [('karma', '>', 0)] + inprogress + forum + + + + + 1 + + + + Famous Question + Asked a question with at least 500 views + gold + nobody + + + Popular Question (500) + Asked a question with at least 500 views + count + boolean + + [('parent_id', '=', False), ('views', '>=', 500)] + higher + True + + user.id + + + Famous Question + once + personal + never + + True + [('karma', '>', 0)] + inprogress + forum + + + + + 1 + + + + + + Credible Question + Question set as favorite by 1 user + bronze + nobody + + + Favourite Question (1) + Question set as favorite by 1 user + count + boolean + + [('parent_id', '=', False), ('favourite_count', '>=', 1)] + higher + True + + user.id + + + Credible Question + once + personal + never + + True + [('karma', '>', 0)] + inprogress + forum + + + + + 1 + + + + Favorite Question + Question set as favorite by 5 users + silver + nobody + + + Favourite Question (5) + Question set as favorite by 5 user + count + boolean + + [('parent_id', '=', False), ('favourite_count', '>=', 5)] + higher + True + + user.id + + + Favorite Question + once + personal + never + + True + [('karma', '>', 0)] + inprogress + forum + + + + + 1 + + + + Stellar Question + Question set as favorite by 25 users + bronze + nobody + + + Favourite Question (25) + Question set as favorite by 25 user + count + boolean + + [('parent_id', '=', False), ('favourite_count', '>=', 25)] + higher + True + + user.id + + + Stellar Question + once + personal + never + + True + [('karma', '>', 0)] + inprogress + forum + + + + + 1 + + + + + + Student + Asked first question with at least one up vote + gold + nobody + + + Upvoted question (1) + Asked first question with at least one up vote + count + boolean + + [('parent_id', '=', False), ('vote_count', '>=', 1)] + higher + True + + user.id + + + Student + once + personal + never + + True + [('karma', '>', 0)] + inprogress + forum + + + + + 1 + + + + Nice Question + Question voted up 4 times + bronze + nobody + + + Upvoted question (4) + Asked first question with at least 4 up votes + count + boolean + + [('parent_id', '=', False), ('vote_count', '>=', 4)] + higher + True + + user.id + + + Nice Question + once + personal + never + + True + [('karma', '>', 0)] + inprogress + forum + + + + + 1 + + + + Good Question + Question voted up 6 times + silver + nobody + + + Upvoted question (6) + Asked first question with at least 6 up votes + count + boolean + + [('parent_id', '=', False), ('vote_count', '>=', 6)] + higher + True + + user.id + + + Good Question + once + personal + never + + True + [('karma', '>', 0)] + inprogress + forum + + + + + 1 + + + + Great Question + Question voted up 15 times + gold + nobody + + + Upvoted question (15) + Asked first question with at least 15 up votes + count + boolean + + [('parent_id', '=', False), ('vote_count', '>=', 15)] + higher + True + + user.id + + + Great Question + once + personal + never + + True + [('karma', '>', 0)] + inprogress + forum + + + + 1 + + + + + + Scholar + Asked a question and accepted an answer + gold + nobody + + + Scholar + Ask a question and accept an answer + count + boolean + + [('parent_id', '=', False), ('has_validated_answer', '=', True)] + higher + True + + user.id + + + Scholar + once + personal + never + + True + [('karma', '>', 0)] + inprogress + forum + + + + 1 + + + + + -- cgit v1.2.3