<?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data>

        <record id="view_general_configuration" model="ir.ui.view">
            <field name="name">base.config.settings.signup</field>
            <field name="model">base.config.settings</field>
            <field name="inherit_id" ref="base_setup.view_general_configuration"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name='module_portal_anonymous']/.." position="after">
                    <div>
                        <field name="auth_signup_reset_password" class="oe_inline"/>
                        <label for="auth_signup_reset_password"/>
                    </div>
                    <div>
                        <field name="auth_signup_uninvited" class="oe_inline"/>
                        <label for="auth_signup_uninvited"/>
                    </div>
                    <div attrs="{'invisible':[('auth_signup_uninvited','=',False)]}">
                        <label for="auth_signup_template_user_id"/>
                        <field name="auth_signup_template_user_id" class="oe_inline"
                            attrs="{'required': [('auth_signup_uninvited', '=', True)]}"
                            domain="['|',('active','=',0),('active','=',1)]"/>
                    </div>
                </xpath>
            </field>
        </record>

    </data>
</openerp>
