Purpose of this commit is send lead / opportunity creation as well as won opportunities KPIs in digest emails. Those are added in the default digest template. A tip to remind to use the mailgateway is also integrated. This commit is linked to task ID 30655 and PR #18318.
17 lines
723 B
XML
17 lines
723 B
XML
<?xml version='1.0' encoding='utf-8'?>
|
|
<odoo>
|
|
<record id="digest_digest_view_form" model="ir.ui.view">
|
|
<field name="name">digest.digest.view.form.inherit.crm.lead</field>
|
|
<field name="model">digest.digest</field>
|
|
<field name="inherit_id" ref="digest.digest_digest_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//group[@name='kpi_general']" position="after">
|
|
<group name="kpi_crm" string="CRM" groups="sales_team.group_sale_salesman_all_leads">
|
|
<field name="kpi_crm_lead_created"/>
|
|
<field name="kpi_crm_opportunities_won"/>
|
|
</group>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|