<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">

    <t t-inherit="web.PhoneField" t-inherit-mode="extension">
        <xpath expr="//div[hasclass('o_phone_content')]//a" position="after">
            <t t-if="props.enableButton and props.record.data[props.name].length > 0">
                <SendSMSButton t-props="props" />
            </t>
        </xpath>
    </t>

    <t t-inherit="web.FormPhoneField" t-inherit-mode="extension">
        <xpath expr="//div[hasclass('o_phone_content')]" position="inside">
            <t t-if="props.enableButton and props.record.data[props.name].length > 0">
                <SendSMSButton t-props="props" />
            </t>
        </xpath>
    </t>

</templates>
