summaryrefslogtreecommitdiff
path: root/addons/website_rating/controllers/__init__.py
diff options
context:
space:
mode:
authorryv-odoo <ryv@odoo.com>2019-08-06 08:53:32 +0000
committerThibault Delavallée <tde@odoo.com>2019-08-22 13:58:15 +0000
commit1b487304464e89b343dabddf315bbb9733c33dec (patch)
treebeb5f950e5f791895660348a7ead3e617f95c99a /addons/website_rating/controllers/__init__.py
parent796882b546748166bf156f20a052f4d07ce3d346 (diff)
[IMP] website_rating : allow to comment message-based ratings
PURPOSE Allow publishers to add a comment on frontend reviews with ratings. Purpose is to allow to give some feedback or context on published reviews. SPECIFICATIONS In order to answer to a rating message (review) of a course (eLearning) or a product (eCommerce) we add a way to the publisher to directly comment a review inside the website rating chatter. Any publisher can add/edit/remove comment of a rating message from the website. The goal is not to enter into a discussion but just to give a feedback. This comment is not sent or propagated to anyone, just displayed for information purpose. In portal chatter * add 1 button below a review "Comment" (for publishers of the website only) * only one comment possible by review/rating * when the comment is added, display * author name, date, comment * 2 buttons, only visible by the website publisher: edit and delete LINKS Task ID : 2026911 closes odoo/odoo#35956 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website_rating/controllers/__init__.py')
-rw-r--r--addons/website_rating/controllers/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website_rating/controllers/__init__.py b/addons/website_rating/controllers/__init__.py
index be30644ac93..514e3fde3d2 100644
--- a/addons/website_rating/controllers/__init__.py
+++ b/addons/website_rating/controllers/__init__.py
@@ -2,3 +2,4 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import portal_chatter
+from . import portal_rating