summaryrefslogtreecommitdiff
path: root/addons/mail/static/src
diff options
context:
space:
mode:
authorajay javiya (OpenERP) <aja@tinyerp.com>2013-10-09 16:30:31 +0530
committerajay javiya (OpenERP) <aja@tinyerp.com>2013-10-09 16:30:31 +0530
commit217fdcba70b68f0ac1dc2d324ceed2eaaec8773c (patch)
treefcaf9c8bd3e534cf7180d82efa6c3e1a42e5c6d6 /addons/mail/static/src
parent269c79f5975be7b9d199396a5dd16dcb1941f067 (diff)
[IMP][REM]: Remove nobody if user have no rights on partner that will display 'portal to nobody 5 minutes ago' that will confuse to end user, now it display 'portal 5 minutes ago' if no rights.
bzr revid: aja@tinyerp.com-20131009110031-7jdsi3ic3eo3sb2m
Diffstat (limited to 'addons/mail/static/src')
-rw-r--r--addons/mail/static/src/xml/mail.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml
index c3a118db50f..31539e24ab3 100644
--- a/addons/mail/static/src/xml/mail.xml
+++ b/addons/mail/static/src/xml/mail.xml
@@ -295,9 +295,9 @@
logged a note
</t>
<t t-if="(widget.type == 'comment' or widget.type == 'email') and (widget.subtype or widget.partner_ids.length > 0)">
- to
- <t t-if="widget.partner_ids.length == 0">
- nobody
+ <!-- Remove nobody if user have no rights on partner that will display 'portal to nobody 5 minutes ago' that will confuse to end user, now it display 'portal 5 minutes ago' if no rights.-->
+ <t t-if="widget.partner_ids.length > 0">
+ to
</t>
</t>
<t t-if="widget.type == 'notification' or ( (widget.type == 'email' or widget.type == 'comment') and (widget.subtype or widget.partner_ids.length > 0))"