<?xml version="1.0"?>
<form string="Generate Payment Link">
                <div name="no_partner_email" class="alert alert-warning fw-bold" role="alert" invisible="partner_email">
                     This partner has no email, which may cause issues with some payment providers.
                     Setting an email for this partner is advised.
                </div>
                <div name="payment_link_warning_information" class="alert alert-warning fw-bold" role="alert" invisible="warning_message == ''">
                    <field name="warning_message"/>
                </div>
                <group>
                    <group name="payment_info" string="Payment Info" class="mt-n4">
                        <field name="res_id" invisible="1"/>
                        <field name="res_model" invisible="1"/>
                        <field name="partner_id" invisible="1"/>
                        <field name="partner_email" invisible="1"/>
                        <field name="amount"/>
                        <field name="amount_max" invisible="1"/>
                        <field name="warning_message" invisible="1"/>
                        <field name="currency_id" invisible="1"/>
                    </group>
                </group>
                <footer>
                    <field name="link" string="Generate and Copy Payment Link" readonly="1" disabled="bool(warning_message)" widget="PaymentWizardCopyClipboardButtonField" data-hotkey="q"/>
                    <button string="Close" class="btn btn-secondary rounded-2" special="cancel" data-hotkey="x"/>
                </footer>
            </form>
        