diff options
| author | Christophe Matthieu <chm@openerp.com> | 2012-12-21 11:26:49 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2012-12-21 11:26:49 +0100 |
| commit | d36ef41a46c39eede7d80c4b28e0e48bd18a5dbd (patch) | |
| tree | 13335970ed50b7e14ced50492565bbe859bc0a93 /addons/mail/static/src/xml | |
| parent | 9df82da7c011aaf6a556413ac5a2723c6db51f9f (diff) | |
[IMP] mail follower: don't display invite button if the user don't have write access. Use many2many_tags_email widget on composer
bzr revid: chm@openerp.com-20121221102649-xyecgj5tqd3li3hw
Diffstat (limited to 'addons/mail/static/src/xml')
| -rw-r--r-- | addons/mail/static/src/xml/mail_followers.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/mail_followers.xml b/addons/mail/static/src/xml/mail_followers.xml index cc6d0531b36..584fd94662c 100644 --- a/addons/mail/static/src/xml/mail_followers.xml +++ b/addons/mail/static/src/xml/mail_followers.xml @@ -19,7 +19,7 @@ </t> <div class='oe_follower_title_box'> <h4 class='oe_follower_title'>Followers</h4> - <a href='#' class="oe_invite">Invite others</a> + <a t-if="widget.view_is_editable" href='#' class="oe_invite">Invite others</a> </div> <div class="oe_follower_list"></div> </div> |
