<odoo>
    <data>
        <record id="saas_portal_stripe_checkout_session" model="ir.actions.act_window">
            <field name="name">Stripe Checkout Session</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">portal.stripe.checkout.session</field>
            <field name="view_mode">tree,form</field>
        </record>

        <record id="stripe_checkout_session_view_form" model="ir.ui.view">
            <field name="name">saas_portal_stripe_view_form</field>
            <field name="model">portal.stripe.checkout.session</field>
            <field name="arch" type="xml">
                <form >
                    <sheet>
                        <group>
                            <field name="name"/>
                            <field name="user_id"/>
                            <field name="session_id"/>
                            <field name="session_completed"/>
                            <field name="completion_payload"/>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>

        <menuitem name="Payment" id="saas_payment" parent="kk_odoo_saas.menu_root"/>
        <menuitem name="Stripe Checkout Sessions" id="portal_stripe_checkout_session"
                  parent="saas_payment"
                  action="saas_portal_stripe_checkout_session"/>

    </data>
</odoo>