<?xml version="1.0"?>
<data><xpath expr="//kanban" position="attributes">
                    <attribute name="default_group_by">date_deadline</attribute>
                    <attribute name="js_class">forecast_kanban</attribute>
                </xpath>
                <xpath expr="//kanban" position="inside">
                    <field name="date_deadline"/>
                </xpath>
                <xpath expr="//field[@name='expected_revenue']" position="replace">
                    <field name="prorated_revenue"/>
                    <field name="recurring_revenue"/>
                </xpath>
                <xpath expr="//field[@name='recurring_revenue_monthly']" position="replace">
                    <field name="recurring_revenue_monthly_prorated"/>
                </xpath>
                <xpath expr="//progressbar" position="attributes">
                    <attribute name="sum_field">prorated_revenue</attribute>
                    <attribute name="recurring_revenue_sum_field">recurring_revenue_monthly_prorated</attribute>
                </xpath>
                <xpath expr="//t[@t-set='lost_ribbon']" position="after">
                    <t t-set="won_ribbon" t-value="record.active.raw_value and record.probability and record.probability.raw_value == 100"/>
                </xpath>
                <xpath expr="//widget" position="replace">
                    <widget t-if="won_ribbon" name="web_ribbon" title="Won" bg_color="text-bg-success" invisible="(probability &gt; 0 or active) and (probability &lt; 100 or not active)"/>
                    <widget t-if="lost_ribbon" name="web_ribbon" title="Lost" bg_color="text-bg-danger" invisible="(probability &gt; 0 or active) and (probability &lt; 100 or not active)"/>
                </xpath>
                <xpath expr="//div" position="replace">
                    <div>
                        <t t-if="record.prorated_revenue.raw_value">
                            <field name="prorated_revenue" widget="monetary" options="{'currency_field': 'company_currency'}"/>
                            <span t-if="record.recurring_revenue and record.recurring_revenue.raw_value" groups="crm.group_use_recurring_revenues"> + </span>
                        </t>
                        <t t-if="record.recurring_revenue and record.recurring_revenue.raw_value">
                            <field class="me-1" name="recurring_revenue_prorated" widget="monetary" options="{'currency_field': 'company_currency'}" groups="crm.group_use_recurring_revenues"/>
                            <field name="recurring_plan" groups="crm.group_use_recurring_revenues"/>
                        </t>
                    </div>
                </xpath>
            </data>