[FIX] website_forum: fix tooltip user info
Before this commit, all tooltip users was showing website and parent_name from the Main company and not the current focsed partner. This commits closes #18430 @kangol: fwd-port company_name
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
<div>
|
||||
<div t-if="'karma' in fields" class='css_editable_mode_hidden'>
|
||||
<div t-if="options.get('UserBio')">
|
||||
<span t-field="object.company_id.name" class="o_forum_tooltip_line"/><br/>
|
||||
<a t-att-href="object.company_id.website" t-if="object.company_id.website">
|
||||
<span t-field="object.company_id.website" class="o_forum_tooltip_line"/>
|
||||
<span t-field="object.parent_name" class="o_forum_tooltip_line"/><br/>
|
||||
<a t-att-href="object.website" t-if="object.website">
|
||||
<span t-field="object.website" class="o_forum_tooltip_line"/>
|
||||
</a>
|
||||
</div>
|
||||
<b><t t-esc="object.karma"/></b>
|
||||
|
||||
Reference in New Issue
Block a user