Skip to content
Snippets Groups Projects
Commit fd0d0244 authored by Alexandre Kühn's avatar Alexandre Kühn
Browse files

[IMP] mail: guard ComposerSuggestedRecipientComponent


Task-2797754

closes odoo/odoo#86793

Signed-off-by: default avatarAlexandre Kühn (aku) <aku@odoo.com>
parent 86c5dd63
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<t t-name="mail.ComposerSuggestedRecipient" owl="1">
<div class="o_ComposerSuggestedRecipient" t-attf-class="{{ className }}" t-att-data-partner-id="suggestedRecipientInfo and suggestedRecipientInfo.partner and suggestedRecipientInfo.partner.id ? suggestedRecipientInfo.partner.id : false" t-att-title="suggestedRecipientInfo and suggestedRecipientInfo.titleText" t-ref="root">
<t t-if="suggestedRecipientInfo">
<t t-if="suggestedRecipientInfo">
<div class="o_ComposerSuggestedRecipient" t-attf-class="{{ className }}" t-att-data-partner-id="suggestedRecipientInfo.partner and suggestedRecipientInfo.partner.id ? suggestedRecipientInfo.partner.id : false" t-att-title="suggestedRecipientInfo.titleText" t-ref="root">
<div class="custom-control custom-checkbox">
<input t-attf-id="{{ id }}_checkbox" class="custom-control-input" type="checkbox" t-att-checked="suggestedRecipientInfo.isSelected ? 'checked' : undefined" t-on-change="_onChangeCheckbox" t-ref="checkbox" />
<label class="custom-control-label" t-attf-for="{{ id }}_checkbox">
......@@ -36,7 +36,7 @@
}"
/>
</t>
</t>
</div>
</div>
</t>
</t>
</templates>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment