<?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 cursor="journal">
    <label name="number"/>
    <field name="number"/>
    <label name="company"/>
    <field name="company"/>

    <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="Payment" id="payment">
            <label name="reference"/>
            <field name="reference"/>
            <label name="reference_type"/>
            <field name="reference_type"/>
        </page>
        <page string="Other Info" id="info">
            <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>
