Files
tryton/view/statement_form.xml
T
Cédric Krier a6de03d181 Add validation type on journal
It also adds a name on statement to replace to current rec_name and some
documentation.

issue3943
review5331002
2014-07-20 13:45:45 +02:00

45 lines
1.7 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 string="Statement">
<label name="name"/>
<field name="name" colspan="3"/>
<label name="journal"/>
<field name="journal"/>
<label name="date"/>
<field name="date"/>
<label name="start_balance"/>
<field name="start_balance"/>
<label name="end_balance"/>
<field name="end_balance"/>
<label name="total_amount"/>
<field name="total_amount"/>
<newline/>
<label name="number_of_lines"/>
<field name="number_of_lines"/>
<newline/>
<notebook colspan="4">
<page string="Statement Lines" col="4" id="statement_lines">
<field name="lines" colspan="4"
view_ids="account_statement.statement_line_view_tree_editable"/>
<group col="6" colspan="4" id="state_buttons">
<label name="balance"/>
<field name="balance"/>
<label name="state"/>
<field name="state"/>
<group col="4" colspan="2" id="buttons">
<button string="Cancel" name="cancel" icon="tryton-cancel"/>
<button string="Draft" name="draft" icon="tryton-clear"/>
<button string="Validate" name="validate_statement"
icon="tryton-go-next"/>
<button string="Post" name="post" icon="tryton-ok"/>
</group>
</group>
</page>
<page string="Other Info" id="info">
<label name="company"/>
<field name="company"/>
</page>
</notebook>
</form>