<?xml version="1.0" encoding="UTF-8"?>
<templates>
    <t t-name="mail.Many2OneAvatarUserField" t-inherit="web.Many2OneAvatarField" t-inherit-mode="primary" owl="1">
        <xpath expr="//span[hasclass('o_m2o_avatar')]" position="attributes">
            <attribute name="t-on-click.stop.prevent">onClickAvatar</attribute>
        </xpath>
    </t>
    
    <t t-name="mail.KanbanMany2OneAvatarUserField" t-inherit="mail.Many2OneAvatarUserField" t-inherit-mode="primary" owl="1">
        <Many2OneField position="attributes">
            <attribute name="t-if">props.readonly and props.displayAvatarName</attribute>
            <attribute name="t-props">m2oFieldProps</attribute>
        </Many2OneField>
    </t>
</templates>
