[IMP] mail: guard FollowerSubtypeComponent
Task-2797754 closes odoo/odoo#86823 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
@@ -2,12 +2,14 @@
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="mail.FollowerSubtype" owl="1">
|
||||
<div class="o_FollowerSubtype" t-attf-class="{{ className }}" t-ref="root">
|
||||
<label class="o_FollowerSubtype_label">
|
||||
<input class="o_FollowerSubtype_checkbox" type="checkbox" t-att-checked="follower.selectedSubtypes.includes(followerSubtype) ? 'checked': ''" t-on-change="_onChangeCheckbox"/>
|
||||
<t t-esc="followerSubtype.name"/>
|
||||
</label>
|
||||
</div>
|
||||
<t t-if="followerSubtype">
|
||||
<div class="o_FollowerSubtype" t-attf-class="{{ className }}" t-ref="root">
|
||||
<label class="o_FollowerSubtype_label">
|
||||
<input class="o_FollowerSubtype_checkbox" type="checkbox" t-att-checked="follower.selectedSubtypes.includes(followerSubtype) ? 'checked': ''" t-on-change="_onChangeCheckbox"/>
|
||||
<t t-esc="followerSubtype.name"/>
|
||||
</label>
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user