<?xml version="1.0" encoding="UTF-8" ?>
<!--
    Copyright 2025 Akretion (http://www.akretion.com).
    @author Florian Mounier <florian.mounier@akretion.com>
    License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>

    <record id="wizard_auth_partner_force_set_password_view_form" model="ir.ui.view">
        <field name="model">wizard.auth.partner.force.set.password</field>
        <field name="arch" type="xml">
            <form string="Label">
                <group>
                    <field name="password" password="True" />
                    <field name="password_confirm" password="True" />
                </group>
                <footer>
                    <button
                        name="action_force_set_password"
                        string="Set Password"
                        type="object"
                        class="oe_highlight"
                    />
                    <button string="Cancel" class="oe_link" special="cancel" />
                </footer>

            </form>
        </field>
    </record>

    <record id="auth_partner_force_set_password_action" model="ir.actions.act_window">
        <field name="name">Set Password</field>
        <field name="res_model">wizard.auth.partner.force.set.password</field>
        <field name="view_mode">form</field>
        <field name="target">new</field>
    </record>

</odoo>
