Files
tryton/view/purchase_form.xml
T
2019-03-04 18:43:41 +01:00

77 lines
3.4 KiB
XML

<?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="invoice_address"/>
<field name="invoice_address"/>
<label name="number"/>
<field name="number"/>
<label name="description"/>
<field name="description" colspan="3"/>
<label name="reference"/>
<field name="reference"/>
<notebook colspan="6">
<page string="Purchase" id="purchase">
<label name="purchase_date"/>
<field name="purchase_date"/>
<label name="payment_term"/>
<field name="payment_term"/>
<label name="warehouse"/>
<field name="warehouse"/>
<label name="currency"/>
<field name="currency"/>
<field name="lines" colspan="4"
view_ids="purchase.purchase_line_view_tree_sequence"/>
<group col="2" colspan="2" id="states" yfill="1">
<label name="invoice_state"/>
<field name="invoice_state"/>
<label name="shipment_state"/>
<field name="shipment_state"/>
<label name="state"/>
<field name="state"/>
</group>
<group col="2" colspan="2" id="amount_buttons" yfill="1">
<label name="untaxed_amount" xalign="1.0" xexpand="1"/>
<field name="untaxed_amount" xalign="1.0" xexpand="0"/>
<label name="tax_amount" xalign="1.0" xexpand="1"/>
<field name="tax_amount" xalign="1.0" xexpand="0"/>
<label name="total_amount" xalign="1.0" xexpand="1"/>
<field name="total_amount" xalign="1.0" xexpand="0"/>
<group col="-1" colspan="2" id="buttons">
<button name="cancel" icon="tryton-cancel"/>
<button name="draft"/>
<button name="modify_header" icon="tryton-launch"/>
<button name="quote" icon="tryton-forward"/>
<button name="handle_invoice_exception" icon="tryton-forward"/>
<button name="handle_shipment_exception" icon="tryton-forward"/>
<button name="confirm" icon="tryton-ok"/>
<button name="process"/>
</group>
</group>
</page>
<page string="Other Info" id="info">
<label name="company"/>
<field name="company"/>
<newline/>
<label name="invoice_method"/>
<field name="invoice_method"/>
<label name="delivery_date"/>
<field name="delivery_date"/>
<separator name="comment" colspan="4"/>
<field name="comment" colspan="4"/>
</page>
<page name="invoices">
<field name="invoices" colspan="4" mode="tree"/>
</page>
<page name="shipments">
<field name="moves" colspan="4" view_ids="purchase.move_view_list_shipment" mode="tree"/>
<field name="shipments" colspan="4" mode="tree"/>
<field name="shipment_returns" colspan="4" mode="tree"/>
</page>
</notebook>
<field name="currency_digits" invisible="1" colspan="6"/>
<field name="party_lang" invisible="1" colspan="6"/>
</form>