<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="view_app_ui_config_settings" model="ir.ui.view">
            <field name="name">App Odoo Customize Settings</field>
            <field name="model">app.ui.config.settings</field>
            <field name="arch" type="xml">
                <form string="odooApp UI Settings" class="oe_form_configuration">
                    <header>
                        <button string="Apply" type="object" name="execute" class="oe_highlight"/>
                        <button string="Cancel" type="object" name="cancel" class="oe_link" special="cancel"/>
                    </header>
                    <separator string="odoo UI Enhance"/>

                    <group string="Search Enhance">
                        <label string="Item to Show"/>
                        <div name="search_show_hide">
                            <div>
                                <field name="app_ui_show_search_date"/>
                                <label for="app_ui_show_search_date"/>
                            </div>
                            <div>
                                <field name="app_ui_show_search_number"/>
                                <label for="app_ui_show_search_number"/>
                            </div>
                        </div>
                    </group>
                    <group string="Report Setting">
                        <field name="app_ui_force_barcode"/>
                        <field name="app_ui_allow_barcode"/>
                    </group>
                </form>
            </field>
        </record>

        <record id="action_app_ui_config" model="ir.actions.act_window">
            <field name="name">UI Enhance</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">app.ui.config.settings</field>
            <field name="view_mode">form</field>
            <field name="target">inline</field>
        </record>

        <menuitem
                id="menu_app_ui_config"
                parent="app_odoo_customize.menu_app_group"
                sequence="1"
                action="action_app_ui_config"
                groups="base.group_system"/>
    </data>
</openerp>
