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.
18 lines
579 B
XML
18 lines
579 B
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. -->
|
|
<tree>
|
|
<field name="journal" expand="1" optional="0"/>
|
|
<field name="kind" optional="0"/>
|
|
<field name="party" expand="2" optional="0"/>
|
|
<field name="amount"/>
|
|
<field name="date"/>
|
|
<field name="state"/>
|
|
<button name="draft"/>
|
|
<button name="submit"/>
|
|
<button name="approve"/>
|
|
<button name="process_wizard"/>
|
|
<button name="fail"/>
|
|
<button name="succeed"/>
|
|
</tree>
|