diff options
| author | Nicolas Seinlet <nse@openerp.com> | 2019-05-13 11:19:07 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@odoo.com> | 2019-05-17 10:50:12 +0200 |
| commit | 8968a620105e2e79f2aa9d8db36b5408b89e92ee (patch) | |
| tree | 4edbdb4dcfed4010acab03df793d76cc6382908d /addons | |
| parent | 330b99f60c0fcc09e2438a1958d11bf7e1383d8d (diff) | |
[FIX] website_forum: fix typo `answer` -> `object`
Closes #33324
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/website_forum/views/website_forum.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_forum/views/website_forum.xml b/addons/website_forum/views/website_forum.xml index 8d04c47a1e1..d8d8c95f7f3 100644 --- a/addons/website_forum/views/website_forum.xml +++ b/addons/website_forum/views/website_forum.xml @@ -967,14 +967,14 @@ <t t-set="inDropdown" t-value="True"/> <t t-set="icon" t-value="'fa-trash-o text-primary'"/> <t t-set="classes" t-value="'comment_delete border-bottom'"/> - <t t-set="karma" t-value="not object.can_unlink and answer.karma_unlink or 0"/> + <t t-set="karma" t-value="not object.can_unlink and object.karma_unlink or 0"/> </t> <t t-call="website_forum.link_button"> <t t-set="url" t-value="'/forum/' + slug(forum) + '/post/' + slug(object) + '/comment/' + slug(message) + '/convert_to_answer'"/> <t t-set="label">Convert as a answer</t> <t t-set="inDropdown" t-value="True"/> <t t-set="icon" t-value="'fa-magic text-primary'"/> - <t t-set="karma" t-value="not object.can_comment_convert and answer.karma_comment_convert or 0"/> + <t t-set="karma" t-value="not object.can_comment_convert and object.karma_comment_convert or 0"/> </t> </div> </div> |
