summaryrefslogtreecommitdiff
path: root/addons/website_forum/data/forum_data.xml
diff options
context:
space:
mode:
authorParth Gajjar <pga@openerp.com>2014-07-21 19:08:01 +0530
committerThibault Delavallée <tde@openerp.com>2014-11-04 15:59:55 +0100
commit893d7fa8643192aec817478effa44c55d3c1ebc4 (patch)
treea8f1ddd2fcf65b6e5b1146445cfba7d2d143cd5f /addons/website_forum/data/forum_data.xml
parent154533ee097635e05e60a0a16590d73256671dd7 (diff)
[MIGRATE] website_forum: migration to the new API, cleaning and linting of models and controllers.
Main cleaning - remove introduction_message, introduced in saas-6 with inboung forum, that was quite a duplicate of description. - renamed relevancy_option_first and relevancy_option_second, introduced in saas-4 with inbound forum - renamed type of post to post_type to avoid confusion with the type keyword - some cleaning in templates
Diffstat (limited to 'addons/website_forum/data/forum_data.xml')
-rw-r--r--addons/website_forum/data/forum_data.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/website_forum/data/forum_data.xml b/addons/website_forum/data/forum_data.xml
index 29eb0ef95e7..9291866cf46 100644
--- a/addons/website_forum/data/forum_data.xml
+++ b/addons/website_forum/data/forum_data.xml
@@ -26,6 +26,11 @@
<field name="state">open</field>
</record>
+ <!-- Set Admin karma -->
+ <record id="base.user_root" model="res.users">
+ <field name="karma">2500</field>
+ </record>
+
<!-- Answers subtypes -->
<record id="mt_answer_new" model="mail.message.subtype">
<field name="name">New Answer</field>