<?xml version="1.0"?>
<data><xpath expr="//templates" position="before">
                <field name="use_quotations"/>
                <field name="invoiced_target"/>
            </xpath>

            <xpath expr="//t[@name='second_options']" position="after">
                <div class="row" t-if="record.quotations_count.raw_value">
                    <div class="col">
                        <a name="304" type="action" context="{'search_default_draft': True, 'search_default_sent': True}">
                            <field name="quotations_count" class="me-1"/>
                            <t t-if="record.quotations_count.raw_value == 1">Quotation</t>
                            <t t-else="">Quotations</t>
                        </a>
                    </div>
                    <div class="col-auto text-truncate">
                        <field name="quotations_amount" widget="monetary"/>
                    </div>
                </div>
                <div class="row" name="orders_to_invoice" t-if="record.sales_to_invoice_count.raw_value">
                    <div class="col-8">
                        <a name="307" type="action">
                            <field name="sales_to_invoice_count" class="me-1"/>
                            <t t-if="record.sales_to_invoice_count.raw_value == 1">Order to Invoice</t>
                            <t t-else="">Orders to Invoice</t>
                        </a>
                    </div>
                </div>
            </xpath>

            <xpath expr="//div[hasclass('o_kanban_primary_bottom')]" position="after">
                <t groups="sales_team.group_sale_manager">
                    <div class="col-12 o_kanban_primary_bottom bottom_block">
                        <field name="invoiced" widget="sales_team_progressbar" title="Invoicing" options="{'current_value': 'invoiced', 'max_value': 'invoiced_target', 'editable': true, 'edit_max_value': true, 'on_change': 'update_invoiced_target'}"/>
                    </div>
                </t>
            </xpath>

            <xpath expr="//div[hasclass('o_kanban_manage_view')]" position="inside">
                <div t-if="record.use_quotations.raw_value">
                    <a name="304" type="action" class="o_quotation_view_button">Quotations</a>
                </div>
                <div>
                    <a name="306" type="action">Sales Orders</a>
                </div>
                <div groups="account.group_account_invoice">
                    <a name="303" type="action">Invoices</a>
                </div>
            </xpath>

            <xpath expr="//div[hasclass('o_kanban_manage_new')]" position="inside">
                <div t-if="record.use_quotations.raw_value">
                    <a name="305" type="action">
                        Quotation
                    </a>
                </div>
            </xpath>

            <div name="o_team_kanban_report_separator" position="before">
                <div t-if="record.use_quotations.raw_value">
                     <a name="290" type="action">
                         Quotations
                     </a>
                </div>
                <div name="sales_report">
                    <a name="291" type="action">
                        Sales
                    </a>
                </div>
                <div groups="account.group_account_invoice" name="invoices_report">
                    <a name="285" type="action">
                        Invoices
                    </a>
                </div>
            </div>
        </data>