summaryrefslogtreecommitdiff
path: root/addons/website_profile/controllers/__init__.py
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2019-01-24 11:02:12 +0000
committerDavid Beguin <dbe@odoo.com>2019-02-14 08:30:29 +0000
commitff870099c588e56e8f041f1d928edd779b1b719c (patch)
tree1db6d5f4c57770ba953bb4f1c871ba930f4afa46 /addons/website_profile/controllers/__init__.py
parentcfbd8d1adaa04901c2792f7a3ec02bd66aab3dbd (diff)
[ADD] website_profile : add profile page template for website modules
Move Profile part from website_forum into this module in order to be usable in other modules (like website_slides) that will depend of this module. Applies gamification.ranks on website_profile page. Show the current rank and the next rank but also the progression until the next rank. Adds also an 'about rank' page to allow users to know more about available ranks. The goal here is to make the profile page more modular and to allow other modules to add informations or modify easily link or part of profile page in order to be specifically contextualised for the module in question. Task ID : 1922159 PR #30988
Diffstat (limited to 'addons/website_profile/controllers/__init__.py')
-rw-r--r--addons/website_profile/controllers/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/website_profile/controllers/__init__.py b/addons/website_profile/controllers/__init__.py
new file mode 100644
index 00000000000..5d4b25db9c0
--- /dev/null
+++ b/addons/website_profile/controllers/__init__.py
@@ -0,0 +1,4 @@
+# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+
+from . import main