Purpose of this commit is send ecommerce sales details KPIs in digest email. Those are added in the default digest template. This commit is linked to task ID 30655 and PR #18318.
18 lines
792 B
XML
18 lines
792 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.website.sale.order</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_sales']" position="attributes">
|
|
<attribute name="string">Sales</attribute>
|
|
<attribute name="groups">sales_team.group_sale_salesman_all_leads</attribute>
|
|
</xpath>
|
|
<xpath expr="//group[@name='kpi_sales']" position="inside">
|
|
<field name="kpi_website_sale_total"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|