<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<form col="6">
    <label name="party"/>
    <field name="party"/>
    <label name="contact"/>
    <field name="contact"/>
    <label name="number"/>
    <field name="number"/>

    <label name="invoice_party"/>
    <field name="invoice_party"/>
    <label name="invoice_address"/>
    <field name="invoice_address"/>
    <newline/>

    <label name="description"/>
    <field name="description" colspan="3"/>
    <label name="reference"/>
    <field name="reference"/>

    <notebook colspan="6">
        <page string="Rental" id="rental">
            <label name="payment_term"/>
            <field name="payment_term"/>
            <newline/>

            <label name="warehouse"/>
            <field name="warehouse"/>
            <label name="currency"/>
            <field name="currency"/>

            <field name="lines" colspan="4" view_ids="sale_rental.sale_rental_line_view_list_sequence"/>

            <group col="2" colspan="2" id="states" yfill="1">
                <label name="state"/>
                <field name="state"/>
            </group>
            <group col="2" colspan="2" id="amount" yfill="1">
                <label name="untaxed_amount" xalign="1.0" xexpand="1" xfill="0"/>
                <field name="untaxed_amount" xalign="1.0" xexpand="0"/>
                <label name="tax_amount" xalign="1.0" xexpand="1" xfill="0"/>
                <field name="tax_amount" xalign="1.0" xexpand="0"/>
                <label name="total_amount" xalign="1.0" xexpand="1" xfill="0"/>
                <field name="total_amount" xalign="1.0" xexpand="0"/>
            </group>
        </page>
        <page string="Other Info" id="other">
            <label name="company"/>
            <field name="company"/>
            <newline/>

            <label name="quoted_by"/>
            <field name="quoted_by"/>
            <label name="confirmed_by"/>
            <field name="confirmed_by"/>
        </page>
    </notebook>
    <group id="links" col="-1" colspan="3">
        <link icon="tryton-account" name="sale_rental.act_account_invoice_form"/>
    </group>
    <group col="-1" colspan="3" id="buttons">
        <button name="cancel"/>
        <button name="draft"/>
        <button name="quote"/>
        <button name="confirm"/>
        <button name="pickup"/>
        <button name="return_"/>
        <button name="invoice"/>
    </group>
</form>
