<?xml version="1.0"?>
<data>
    <xpath expr="/form/field[@name='party']" position="after">
        <label name="invoice_party"/>
        <field name="invoice_party"/>
    </xpath>
    <xpath expr="/form/field[@name='description']" position="replace">
        <field name="description"/>
        <label name="purchase_order"/>
        <field name="purchase_order"/>
    </xpath>
    <xpath expr="/form/notebook/page[@id='sale']/field[@name='sale_date']"
        position="after">
        <label name="expiration_date"/>
        <field name="expiration_date"/>
    </xpath>
    <xpath expr="/form/notebook/page[@id='sale']/field[@name='lines']"
        position="before">
        <group col="3" colspan="4" id="lims_buttons">
            <button name="load_services"/>
            <button name="load_set_group"/>
        </group>
    </xpath>
    <xpath expr="/form/notebook" position="inside">
        <page id="lims_report" string="Printing">
            <label name="template"/>
            <field name="template"
                view_ids="lims_sale.sale_report_template_view_list,lims_sale.sale_report_template_view_form"/>
            <label name="clause_template"/>
            <field name="clause_template"/>
            <notebook colspan="4">
                <page name="clauses">
                    <field name="clauses" colspan="4" widget="html"/>
                </page>
                <page name="sections">
                    <field name="previous_sections" colspan="4"/>
                    <field name="following_sections" colspan="4"/>
                </page>
            </notebook>
        </page>
        <page id="lims_email" string="Mailing">
            <label name="send_email"/>
            <field name="send_email"/>
        </page>
    </xpath>
    <xpath
        expr="/form/notebook/page[@id='sale']/group[@id='states']/label[@name='state']"
        position="before">
        <group id="services_completed_manual" colspan="2" col="2">
            <label name="services_completed_manual"/>
            <field name="services_completed_manual"/>
        </group>
    </xpath>
</data>
