generate css from last commit
[odoo/odoo.git] / addons / fetchmail_crm / installer.xml
index da5a4d8..5223367 100644 (file)
@@ -6,13 +6,14 @@
             <field name="type">ir.actions.act_window</field>
             <field name="res_model">fetchmail.server</field>
             <field name="view_type">form</field>
-            <field name="view_mode">form</field>
-            <field name="context">{'default_name' : "Email Account For Leads", 'fetchmail_model' : 'crm.lead'}</field>
+            <field name="view_mode">tree,form</field>
+            <field name="context" eval="{'default_name': 'Incoming Leads', 'default_object_id': ref('crm.model_crm_lead')}"/>
+            <field name="help">You can connect your email account with leads in OpenERP. A new email sent to this account (example: info@mycompany.com) will automatically create a lead in OpenERP. The whole communication with the salesman will be attached to the lead automatically.</field>
         </record>
 
         <record model="ir.actions.todo" id="config_wizard_action_create_crm_leads_from_email_account">
             <field name="action_id" ref="action_create_crm_leads_from_email_account" />
-            <field name="category_id" ref="base.category_administration_config" />
+            <field name="category_id" ref="base.category_sales_management_config" />
         </record>
     </data>
 </openerp>