Files
odoo_source/addons/crm_reveal/data/reveal_data.xml
T
TWA eebaf55fde [ADD] crm_reveal: New IAP module
crm_reveal will allow the automated generation of leads based on the
visits of the website.
2018-09-20 13:58:33 +02:00

41 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<!-- Scheduler for Lead Generation -->
<record id="ir_cron_crm_reveal_lead" model="ir.cron">
<field name="name">Lead Generation: Leads/Opportunities Generation</field>
<field name="model_id" ref="model_crm_reveal_rule"/>
<field name="state">code</field>
<field name="code">model._process_lead_generation()</field>
<field name="user_id" ref="base.user_root"/>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False"/>
</record>
<record id="reveal_no_credits" model="mail.template">
<field name="name">IAP Lead Generation Notification</field>
<field name="email_from">iap@odoo.com</field>
<field name="email_to">iap@odoo.com</field>
<field name="subject">IAP Lead Generation Notification</field>
<field name="model_id" ref="iap.model_iap_account"/>
<field name="body_html">
<![CDATA[
<p>Dear,</p>
<p>There is no more credits on your IAP Lead Generation account.<br/>
You can charge your IAP Lead Generation account in the settings of the CRM app.<br/>
<p>Best regards,</p>
<p>Odoo S.A.</p>
]]>
</field>
</record>
</data>
<function model="ir.model.fields" name="formbuilder_whitelist">
<value>crm.lead</value>
<value eval="['reveal_ip']"/>
</function>
</odoo>