<?xml version="1.0"?>
<data>
                <xpath expr="//field[@name='invoice_sending_method']" position="before">
                    <field name="available_peppol_sending_methods" invisible="1"/>
                    <field name="available_peppol_edi_formats" invisible="1"/>
                </xpath>
                <xpath expr="//field[@name='invoice_sending_method']" position="attributes">
                    <attribute name="widget">filterable_selection</attribute>
                    <attribute name="options">{'whitelist_fname': 'available_peppol_sending_methods'}</attribute>
                </xpath>
                <xpath expr="//field[@name='invoice_edi_format']" position="attributes">
                    <attribute name="widget">filterable_selection</attribute>
                    <attribute name="options">{'whitelist_fname': 'available_peppol_edi_formats'}</attribute>
                </xpath>
                <xpath expr="//field[@name='invoice_edi_format']" position="after">
                    <field name="bank_account_count" invisible="1"/>
                    <div class="alert alert-warning" colspan="2" role="alert" invisible="peppol_verification_state != 'valid' or country_code">
                         To generate complete electronic invoices, also set a country for this partner.
                    </div>
                </xpath>
                <xpath expr="//field[@name='peppol_endpoint']" position="after">
                    <field name="peppol_verification_state" invisible="1" force_save="1"/>
                    <label for="peppol_verification_state" invisible="not peppol_endpoint"/>
                    <div class="row" invisible="not peppol_endpoint">
                        <div class="col-6">
                            <field name="peppol_verification_state" readonly="1"/>
                        </div>
                        <div class="col-6 pt-0">
                            <button name="button_account_peppol_check_partner_endpoint" class="btn btn-secondary" type="object" string="Verify" help="Verify partner's PEPPOL endpoint"/>
                        </div>
                    </div>
                </xpath>
            </data>
        