diff options
| author | Atul Patel (OpenERP) <atp@tinyerp.com> | 2013-07-23 11:25:11 +0530 |
|---|---|---|
| committer | Atul Patel (OpenERP) <atp@tinyerp.com> | 2013-07-23 11:25:11 +0530 |
| commit | 48c68c3a997a2bc1d32bd6aeb6a47a03cf0eb924 (patch) | |
| tree | b596779157d84991abe1dadb24b3d5e95c35b43d /addons/mail/static/src/xml/mail.xml | |
| parent | 5d4f89f9d67b24446c5c88174bc6d61051599adb (diff) | |
[FIX]: Fix private message partnerid problem and display and when no author
bzr revid: atp@tinyerp.com-20130723055511-edtutz2au78rcinx
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
| -rw-r--r-- | addons/mail/static/src/xml/mail.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index b14b5a5d3ce..05a3b61d9f3 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -128,7 +128,7 @@ <t t-if="!widget.parent_thread.parent_message.record_name and !widget.options.view_inbox">Followers of this document</t> </span> </t> - <t t-if="!widget.is_private and widget.is_author"> and </t> + <t t-if="!widget.is_private and !widget.is_author"> and </t> <t t-set="inc" t-value="0"/> <t t-foreach="widget.partner_ids" t-as="partner"> <t t-if="widget.is_private or (widget.is_author and widget.author_id[0] != partner[0])"> @@ -139,7 +139,7 @@ <t t-set="inc" t-value="inc+1"/> </t> </t> - <a t-if="widget.author_id and widget.options.show_link and widget.author_id[0]" t-attf-href="#model=res.partner&id=#{widget.author_id[0]}"><t t-if="!widget.is_author" t-raw="widget.author_id[2]"/></a> + <a t-if="widget.author_id and widget.options.show_link and widget.author_id[0]" t-attf-href="#model=res.partner&id=#{widget.author_id[0]}"><t t-if="!widget.is_private and !widget.is_author" t-raw="widget.author_id[2]"/></a> <t t-if="widget.partner_ids.length > 3"> <span class="oe_more">, <a><t t-raw="widget.partner_ids.length - 3"/> others...</a></span> <a class="oe_more_hidden"><<<</a> |
