summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2014-04-25 14:49:11 +0200
committerThibault Delavallée <tde@openerp.com>2014-04-25 14:49:11 +0200
commit7f236edcdd6619a272aecfc47309d6dccb4e29d9 (patch)
treec754068699eb73d6e7cf36a622361d64737b4515
parent88f7865043ce9f78df88be745aeff55671abfef0 (diff)
[FIX] website_forum: fixed link of answer's author, was redirecting
to the current users instead of the post's author; bzr revid: tde@openerp.com-20140425124911-z4dqhm64yabq214t
-rw-r--r--addons/website_forum/views/website_forum.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_forum/views/website_forum.xml b/addons/website_forum/views/website_forum.xml
index 8e01555e638..bd8b47f0817 100644
--- a/addons/website_forum/views/website_forum.xml
+++ b/addons/website_forum/views/website_forum.xml
@@ -515,7 +515,7 @@
</ul>
<span t-field="answer.create_uid.image" t-field-options='{"widget": "image", "class":"pull-left img img-circle img-avatar"}'/>
<div>
- <a t-attf-href="/forum/#{ slug(forum) }/user/#{ user.id }"
+ <a t-attf-href="/forum/#{ slug(forum) }/user/#{ answer.create_uid.id }"
t-field="answer.create_uid"
t-field-options='{"widget": "contact", "country_image": true, "fields": ["name", "country_id"]}'
style="display: inline-block;"/>