<?xml version="1.0"?>
<form string="Payment Method">
                <sheet>
                    <field name="is_primary" invisible="True"/>
                    <field name="image" widget="image" class="oe_avatar"/>
                    <div class="oe_title">
                        <h1><field name="name" placeholder="Name"/></h1>
                    </div>
                    <group>
                        <field name="code" readonly="id" groups="base.group_no_one"/>
                        <field name="primary_payment_method_id" invisible="is_primary"/>
                        <field name="active"/>
                        <label for="supported_country_ids"/>
                        <div>
                            <field name="supported_country_ids" class="oe_inline" widget="many2many_tags" readonly="1"/>
                            <span class="oe_inline text-muted" invisible="supported_country_ids">
                                All countries are supported.
                            </span>
                        </div>
                        <label for="supported_currency_ids"/>
                        <div>
                            <field name="supported_currency_ids" class="oe_inline" widget="many2many_tags" readonly="1"/>
                            <span class="oe_inline text-muted" invisible="supported_currency_ids">
                                All currencies are supported.
                            </span>
                        </div>
                    </group>
                    <notebook>
                        <page string="Providers" name="providers">
                            <field name="provider_ids" readonly="1">
                                <list decoration-muted="state == 'disabled'" editable="bottom">
                                    <field name="name"/>
                                    <field name="state"/>
                                </list>
                            </field>
                        </page>
                        <page string="Brands" name="brands" invisible="not is_primary">
                            <field name="brand_ids"/>
                        </page>
                        <page string="Configuration" name="configuration" groups="base.group_no_one">
                            <div class="alert alert-warning" role="alert">
                                <i class="fa fa-exclamation-triangle"/> These properties are set to
                                match the behavior of providers and that of their integration with
                                Odoo regarding this payment method. Any change may result in errors
                                and should be tested on a test database first.
                            </div>
                            <group>
                                <field name="support_tokenization"/>
                                <field name="support_manual_capture"/>
                                <field name="support_express_checkout"/>
                                <field name="support_refund"/>
                                <field name="supported_country_ids" widget="many2many_tags" placeholder="Select countries. Leave empty to allow any."/>
                                <field name="supported_currency_ids" widget="many2many_tags" placeholder="Select currencies. Leave empty to allow any."/>
                                <field name="provider_ids" string="Supported by" widget="many2many_tags"/>
                            </group>
                        </page>
                    </notebook>
                </sheet>
            </form>
        