summaryrefslogtreecommitdiff
path: root/addons/website_forum/tests
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2019-01-23 17:39:52 +0000
committerThibault Delavallée <tde@odoo.com>2019-02-07 12:11:44 +0000
commit3b9dcb6d8d8c50000828f3503e69c567d0daa98c (patch)
tree5f29517a258f01f9ff81e50ccab0428abf0f0c8d /addons/website_forum/tests
parentca25a692bd19fdca2b2600f2054eb419aae28999 (diff)
[REF] gamification, website_forum: move karma, badge and badge level to gamification
Purpose of this commit is to prepare addition of gamification in slides / eLearning platform. In order to be able to use karma and the badges in other modules we move those models in gamification. 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).
Diffstat (limited to 'addons/website_forum/tests')
-rw-r--r--addons/website_forum/tests/test_forum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_forum/tests/test_forum.py b/addons/website_forum/tests/test_forum.py
index 4037dc3b783..91d72c5dff5 100644
--- a/addons/website_forum/tests/test_forum.py
+++ b/addons/website_forum/tests/test_forum.py
@@ -2,7 +2,7 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from .common import KARMA, TestForumCommon
-from ..models.forum import KarmaError
+from odoo.addons.gamification.models.gamification_karma_rank import KarmaError
from odoo.exceptions import UserError, AccessError
from odoo.tools import mute_logger
from psycopg2 import IntegrityError