trytonpsk-farming/view/supplier_certificate_form.xml

44 lines
1.9 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>
<label name="number"/>
<field name="number"/>
<label name="start_date"/>
<field name="start_date"/>
<label name="end_date"/>
<field name="end_date"/>
<!-- <label name="provider_link"/>
<field name="provider_link" widget="url" xexpand="1" width="40"/> -->
<notebook colspan="6">
<page string="Suppliers" id="suppliers" col="4">
<field name="suppliers" colspan="4"/>
</page>
<page string="Invoice Lines" id="main_info" col="4">
<field name="invoice_lines" colspan="4"/>
<group col="2" colspan="2" id="states" yfill="1">
<label name="state"/>
<field name="state"/>
<newline/>
</group>
<group col="2" colspan="2" id="totals" yfill="1">
<label name="total_amount" xalign="1.0" xexpand="1"/>
<field name="total_amount" symbol="currency" xalign="1.0" xexpand="0"/>
<label name="vat_amount" xalign="1.0" xexpand="1"/>
<field name="vat_amount" symbol="currency" xalign="1.0" xexpand="0"/>
</group>
</page>
<page string="xml" id="xml_cp" col="1">
<label name="xml_certificate"/>
<field name="xml_certificate"/>
</page>
</notebook>
<group col='4' colspan='4' id="buttons">
<button name="draft" string="Draft" icon="tryton-clear"/>
<button name="process" string="Process" icon="tryton-forward"/>
<button name="create_certificate" string="create_certificate" icon="tryton-forward"/>
<button name="done" string="Done" icon="tryton-forward"/>
<button name="cancel" string="cancel" icon="tryton-forward"/>
</group>
</form>