flectra/addons/crm/data/digest_data.xml
2018-10-25 17:20:37 +05:30

30 lines
1.2 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<flectra>
<data noupdate="1">
<record id="digest.digest_digest_default" model="digest.digest">
<field name="kpi_crm_lead_created">True</field>
<field name="kpi_crm_opportunities_won">True</field>
</record>
</data>
<data>
<record id="digest_tip_crm_0" model="digest.tip">
<field name="sequence">2</field>
<field name="group_id" ref="sales_team.group_sale_salesman_all_leads"/>
<field name="tip_description" type="html">
<div>
% set email = object.env['crm.team'].search([('alias_name','!=', False)],limit=1).alias_id.display_name
% if email
<strong style="font-size: 16px;">Try the mail gateway</strong>
<div style="font-size: 14px;">Email sent to <strong>${email}</strong> generate opportunities in your pipeline.<br/>
<div style="text-align:center;margin-top:5px;margin-bottom:2px;">
<a href="mailto:${email}" style="background-color:#56b3b5;padding:2px;color:#FFFFFF;font-weight:bold;text-decoration:none;">Try Now</a>
</div>
</div>
% endif
</div>
</field>
</record>
</data>
</flectra>