[FIX] portal_rating: fix modifying review

Purpose
=======
Fix bug introduced in efd178daee689192d4e930a075475587038b3e0d
that created a new review instead of modifying your old one in
website_slides.

Task-2723643

closes odoo/odoo#85184

X-original-commit: f939260f9e90b58ea79197939d9644160c84a0a9
Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
This commit is contained in:
Fabio Barbero
2022-02-28 07:32:46 +00:00
parent b6c64c4e07
commit 07df987627
@@ -6,7 +6,7 @@
<t t-extend="portal.Composer">
<t t-jquery="textarea" t-operation="inner"><t t-esc="widget.options['default_message'] ? _.str.trim(widget.options['default_message']) : ''"/></t><!-- need to be one line to avoid \t in textarea -->
<t t-jquery="button.o_portal_chatter_composer_btn" t-operation="attributes">
<attribute name="t-attf-data-action" t-value="#{widget.options['force_submit_url'] || '/mail/chatter_post'}" />
<attribute name="t-attf-data-action">#{widget.options['force_submit_url'] || '/mail/chatter_post'}</attribute>
</t>
<t t-jquery=".o_portal_chatter_composer_input div.o_portal_chatter_composer_body" t-operation="before">
<t t-call="portal_rating.rating_star_input">