summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml
diff options
context:
space:
mode:
authorJérome Maes <jem@openerp.com>2015-09-09 15:35:37 +0200
committerJérome Maes <jem@openerp.com>2015-09-14 10:16:21 +0200
commit762cc2dbfa02c1a4afe7c6a200917cc41054aa79 (patch)
treeee3d0c3f1a3127384bda5a2bafc222b285202a31 /addons/mail/static/src/xml
parenta58e00bcdbdbea525cd9684740bcb2a3f6b62c89 (diff)
[FIX] mail : make follower subtype edition works
On follower list of a document, the user can (if access rights granted) edit the subtype subscription of other follower. This open a modal with checkboxes. This is commit make this feature works and adapt it to channel follower.
Diffstat (limited to 'addons/mail/static/src/xml')
-rw-r--r--addons/mail/static/src/xml/mail_followers.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/mail_followers.xml b/addons/mail/static/src/xml/mail_followers.xml
index 6370715695a..c25d3954bb1 100644
--- a/addons/mail/static/src/xml/mail_followers.xml
+++ b/addons/mail/static/src/xml/mail_followers.xml
@@ -44,7 +44,9 @@
t-att-data-id="record.id"><t t-esc="record.name"/></a>
<i t-if="record.is_editable and (widget.records_length &gt; 1)"
class="fa fa-pencil o_edit_subtype hide" title="Edit subscription"
- t-att-data-id="record.id"/>
+ t-att-data-id="record.id"
+ t-att-data-res-model="record.res_model"
+ t-att-data-res-id="record.res_id"/>
<i t-if="widget.view_is_editable" class="fa fa-remove o_remove_follower"
title="Remove this follower"/>
</li>