diff options
| author | ajay javiya (OpenERP) <aja@tinyerp.com> | 2013-10-09 16:30:31 +0530 |
|---|---|---|
| committer | ajay javiya (OpenERP) <aja@tinyerp.com> | 2013-10-09 16:30:31 +0530 |
| commit | 217fdcba70b68f0ac1dc2d324ceed2eaaec8773c (patch) | |
| tree | fcaf9c8bd3e534cf7180d82efa6c3e1a42e5c6d6 /addons | |
| parent | 269c79f5975be7b9d199396a5dd16dcb1941f067 (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')
| -rw-r--r-- | addons/mail/static/src/xml/mail.xml | 6 |
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))" |
