A button is easier for the user to discover than a keyword action. There is a small risk that user does not group the processing of payments but it existed also wizard the keyword action and it is compensated largely by the benefit of discoverability.
54 lines
1.8 KiB
XML
54 lines
1.8 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="journal"/>
|
|
<field name="journal" widget="selection"/>
|
|
<label name="kind"/>
|
|
<field name="kind"/>
|
|
<label name="party"/>
|
|
<field name="party"/>
|
|
<label name="line"/>
|
|
<field name="line" view_ids="account_payment.move_line_view_list"/>
|
|
<label name="amount"/>
|
|
<field name="amount"/>
|
|
<label name="date"/>
|
|
<field name="date"/>
|
|
<notebook colspan="4">
|
|
<page string="Description" id="description">
|
|
<label name="description"/>
|
|
<field name="description" colspan="3"/>
|
|
</page>
|
|
<page string="Other Info" id="info">
|
|
<label name="company"/>
|
|
<field name="company"/>
|
|
<label name="group"/>
|
|
<field name="group"/>
|
|
<label name="origin"/>
|
|
<field name="origin"/>
|
|
<newline/>
|
|
<label name="submitted_by"/>
|
|
<field name="submitted_by"/>
|
|
<label name="approved_by"/>
|
|
<field name="approved_by"/>
|
|
<label name="succeeded_by"/>
|
|
<field name="succeeded_by"/>
|
|
<label name="failed_by"/>
|
|
<field name="failed_by"/>
|
|
</page>
|
|
</notebook>
|
|
<group col="4" colspan="4" id="state_buttons">
|
|
<label name="state"/>
|
|
<field name="state"/>
|
|
<group col="-1" colspan="2" id="buttons">
|
|
<button name="draft"/>
|
|
<button name="submit"/>
|
|
<button name="approve"/>
|
|
<button name="process_wizard"/>
|
|
<button name="proceed"/>
|
|
<button name="fail"/>
|
|
<button name="succeed"/>
|
|
</group>
|
|
</group>
|
|
</form>
|