trytonpsk-staff_payroll/view/payroll_form.xml

69 lines
2.4 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 col="6" cursor="employee">
<label name="employee"/>
<field name="employee" width="290"/>
<label name="period"/>
<field name="period"/>
<label name="number"/>
<field name="number"/>
<label name="start"/>
<field name="start"/>
<label name="end"/>
<field name="end"/>
<label name="worked_days"/>
<field name="worked_days"/>
<newline/>
<label name="description"/>
<field name="description" colspan="3"/>
<label name="date_effective"/>
<field name="date_effective"/>
<notebook colspan="6">
<page string="Payroll Line" id="payroll_line">
<field name="lines"
view_ids="staff_payroll.payroll_line_view_tree"/>
</page>
<page string="Information" id="information">
<label name="contract"/>
<field name="contract"/>
<label name="kind"/>
<field name="kind"/>
<label name="journal"/>
<field name="journal"/>
<label name="company"/>
<field name="company"/>
<label name="move"/>
<field name="move"/>
<label name="currency"/>
<field name="currency"/>
<separator name="notes" colspan="3"/>
<field name="notes" colspan="3"/>
</page>
</notebook>
<group col="8" colspan="6" id="payments">
<label name="gross_payments"/>
<field name="gross_payments"/>
<label name="total_deductions"/>
<field name="total_deductions"/>
<label name="net_payment"/>
<field name="net_payment"/>
<label name="total_cost"/>
<field name="total_cost"/>
</group>
<group col="4" colspan="6" id="state_buttons">
<label name="state"/>
<field name="state"/>
<group col="5" colspan="2" id="buttons">
<button name="draft" string="Draft"
icon="tryton-clear"/>
<button name="cancel" string="Cancel"
icon="tryton-cancel"/>
<button name="post" string="Post"
icon="tryton-forward"/>
<button name="process" string="Process"
icon="tryton-forward"/>
</group>
</group>
</form>