Files
odoo_source/addons/fetchmail_crm/installer.xml
T

20 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record model="ir.actions.act_window" id="action_create_crm_leads_from_email_account">
<field name="name">Create Leads from Email Account</field>
<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">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_sales_management_config" />
</record>
</data>
</openerp>