<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
    <t t-name="hr.OpenChat">
        <a t-if="props.record.data.user_id and props.record.resId"
            title="Chat"
            icon="fa-comments"
            t-on-click.prevent="() => openChat(props.record.resId)"
            href="#"
            class="ml8 o_employee_chat_btn"
            role="button">
            <i class="fa fa-comments align-middle fs-6"/>
        </a>
    </t>
</templates>
