<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="res_config_settings_view_form_ltc" model="ir.ui.view">
        <field name="name">res.config.settings.view.form.ltc</field>
        <field name="model">res.config.settings</field>
        <field name="inherit_id" ref="base.res_config_settings_view_form"/>
        <field name="arch" type="xml">
            <xpath expr="//form" position="inside">
                <app data-string="LTC Management" string="LTC Management"
                     name="fusion_ltc_management">
                    <block title="Portal Forms">
                        <setting string="LTC Form Access Password"
                                 help="Set a password to protect the public LTC repair form. Share this with facility staff so they can submit repair requests. Minimum 4 characters. Leave empty to allow unrestricted access.">
                            <field name="fc_ltc_form_password"
                                   placeholder="e.g. 1234"/>
                        </setting>
                    </block>
                </app>
            </xpath>
        </field>
    </record>

</odoo>
