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

    <t t-name="PartnerDetailsEdit" t-inherit="point_of_sale.PartnerDetailsEdit" t-inherit-mode="extension">
        <xpath expr="//div[hasclass('partner-details-box')]" position="inside">
            <t t-if="pos.isArgentineanCompany()">

                <div class="partner-detail col">
                    <label class="form-label" for="art">AFIP Responsibility</label>
                    <select class="detail form-select" name="l10n_ar_afip_responsibility_type_id" id="art"
                        t-model="changes.l10n_ar_afip_responsibility_type_id">
                        <t t-foreach="pos.l10n_ar_afip_responsibility_types" t-as="afip_responsibility" t-key="afip_responsibility.id">
                            <option t-att-value="afip_responsibility.id">
                                <t t-esc="afip_responsibility.name" />
                            </option>
                        </t>
                    </select>
                </div>

                <div class="partner-detail col">
                    <label class="form-label" for="id_type">Identification Type</label>
                    <select class="detail form-select" name="l10n_latam_identification_type_id" id="id_type"
                        t-model="changes.l10n_latam_identification_type_id">
                        <t t-foreach="pos.l10n_latam_identification_types" t-as="l10n_latam_identification_type" t-key="l10n_latam_identification_type.id">
                            <option t-att-value="l10n_latam_identification_type.id">
                                <t t-esc="l10n_latam_identification_type.name" />
                            </option>
                        </t>
                    </select>
                </div>
            </t>
        </xpath>
    </t>

</templates>
