<?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="customer">
    <label name="reference"/>
    <field name="reference"/>
    <label name="number"/>
    <field name="number"/>

    <label name="customer"/>
    <field name="customer"/>
    <label name="date"/>
    <field name="date"/>
    <notebook>
        <page string="Complaint" id="complaint">
            <label name="type"/>
            <field name="type" widget="selection"/>
            <label name="origin"/>
            <field name="origin"/>
            <separator name="description" colspan="2"/>
            <newline/>
            <field name="description" colspan="2"/>
            <field name="actions" colspan="2"/>
        </page>
        <page string="Other Info" id="other">
            <label name="company"/>
            <field name="company"/>
            <newline/>

            <label name="submitted_by"/>
            <field name="submitted_by"/>
            <label name="cancelled_by"/>
            <field name="cancelled_by"/>

            <label name="approved_by"/>
            <field name="approved_by"/>
            <label name="rejected_by"/>
            <field name="rejected_by"/>
        </page>
    </notebook>
    <label name="state"/>
    <field name="state"/>
    <group col="-1" colspan="2" id="buttons">
        <button name="cancel" icon="tryton-cancel"/>
        <button name="draft"/>
        <button name="wait" icon="tryton-forward"/>
        <button name="approve" icon="tryton-forward"/>
        <button name="reject" icon="tryton-close"/>
        <button name="process" icon="tryton-launch"/>
    </group>
</form>
