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

        <record id="view_sale_config_settings" model="ir.ui.view">
            <field name="name">crm settings</field>
            <field name="model">sale.config.settings</field>
            <field name="inherit_id" ref="base_setup.view_sale_config_settings"/>
            <field name="arch" type="xml">
	            <div name="config_sale" position="before">
	                <separator string="After-Sale Services"/>
                    <group>
                        <label for="id" string="Features"/>
                        <div>
                            <div>
                                <field name="module_crm_claim" class="oe_inline"/>
                                <label for="module_crm_claim"/>
                            </div>
                            <div>
                                <field name="module_crm_helpdesk" class="oe_inline"/>
                                <label for="module_crm_helpdesk"/>
                            </div>
                        </div>
                    </group>
	            </div>
                <group name="On Mail Client" version="7.0" position="after">
                    <group>
                        <label for="id" string="On Mail Server"/>
                        <div>
                            <div name="fetchmail_lead">
                                <field name="fetchmail_lead" class="oe_inline"/>
                                <label for="fetchmail_lead"/>
                                <button name="configure_fetchmail_lead" type="object" string="Configure" icon="gtk-go-forward"
                                attrs="{'invisible': [('fetchmail_lead','=',False)]}" class="oe_link"/>
                            </div>
                        </div>
                    </group>
                </group>
            </field>
        </record>

        <menuitem id="base.menu_sale_config" name="Sales" parent="base.menu_config"
            sequence="1" action="base_setup.action_sale_config"/>

    </data>
</openerp>
