diff options
| author | jem-odoo <jem@openerp.com> | 2019-02-18 09:31:57 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-02-21 16:38:14 +0000 |
| commit | 7d1af42c0630d02b2027d07dd3d20aec3d22ccbe (patch) | |
| tree | 7bf2e6e365c1e1cab9cb25d2ae860de003b0395d /addons/website_rating/static/src/xml/website_mail.xml | |
| parent | 55f93a240fcfa7d153435d7198632b8a2a50120e (diff) | |
[FIX] website_slides: fix some rating issues
Last review should be a comment. When fetching the last message on a course
the returned message can be a system notification (like "Channel created").
This is not what we want, mostly with the feature allowing to modify the body
of a message. This commit add restriction on the domain fetch last message.
Fix default rating value on popup widget. The conversation ratio (rating 1-10
and 5 stars) was not applied everywhere. So, the number of displayed stars was
doubled. This is now fixed.
Commit linked to task ID 1941250 and PR #31317.
Diffstat (limited to 'addons/website_rating/static/src/xml/website_mail.xml')
| -rw-r--r-- | addons/website_rating/static/src/xml/website_mail.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_rating/static/src/xml/website_mail.xml b/addons/website_rating/static/src/xml/website_mail.xml index 11534a768c2..d4e8dd83218 100644 --- a/addons/website_rating/static/src/xml/website_mail.xml +++ b/addons/website_rating/static/src/xml/website_mail.xml @@ -79,7 +79,7 @@ <div class="rate_text"> <span class="badge badge-info"></span> </div> - <input type="hidden" readonly="readonly" name="rating_value" t-att-value="default_rating"/> + <input type="hidden" readonly="readonly" name="rating_value" t-att-value="default_rating || ''"/> </div> </t> |
