first commit
This commit is contained in:
13
modules/attendance/view/attendance_form.xml
Normal file
13
modules/attendance/view/attendance_form.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?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="employee"/>
|
||||
<field name="employee"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="type"/>
|
||||
<field name="type"/>
|
||||
<label name="at"/>
|
||||
<field name="at"/>
|
||||
</form>
|
||||
10
modules/attendance/view/attendance_list.xml
Normal file
10
modules/attendance/view/attendance_list.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?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="company" expand="1" optional="1"/>
|
||||
<field name="employee" expand="2"/>
|
||||
<field name="type"/>
|
||||
<field name="at" widget="date" string="Date"/>
|
||||
<field name="at" widget="time" string="Time"/>
|
||||
</tree>
|
||||
15
modules/attendance/view/period_form.xml
Normal file
15
modules/attendance/view/period_form.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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="company"/>
|
||||
<field name="company"/>
|
||||
<label name="ends_at"/>
|
||||
<field name="ends_at"/>
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group col="-1" colspan="2" id="buttons">
|
||||
<button name="draft" icon="tryton-clear"/>
|
||||
<button name="close" icon="tryton-ok"/>
|
||||
</group>
|
||||
</form>
|
||||
9
modules/attendance/view/period_list.xml
Normal file
9
modules/attendance/view/period_list.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?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="company" expand="1" optional="1"/>
|
||||
<field name="ends_at" widget="date"/>
|
||||
<field name="ends_at" widget="time" string="Time"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
15
modules/attendance/view/sheet_form.xml
Normal file
15
modules/attendance/view/sheet_form.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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="employee"/>
|
||||
<field name="employee"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="date"/>
|
||||
<field name="date"/>
|
||||
<newline/>
|
||||
<label name="duration"/>
|
||||
<field name="duration"/>
|
||||
<field name="lines" colspan="4"/>
|
||||
</form>
|
||||
9
modules/attendance/view/sheet_form_timesheet.xml
Normal file
9
modules/attendance/view/sheet_form_timesheet.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?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. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='duration']" position="after">
|
||||
<label name="timesheet_duration"/>
|
||||
<field name="timesheet_duration"/>
|
||||
</xpath>
|
||||
</data>
|
||||
15
modules/attendance/view/sheet_line_form.xml
Normal file
15
modules/attendance/view/sheet_line_form.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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="employee"/>
|
||||
<field name="employee"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="from_"/>
|
||||
<field name="from_"/>
|
||||
<label name="to"/>
|
||||
<field name="to"/>
|
||||
<label name="duration"/>
|
||||
<field name="duration"/>
|
||||
</form>
|
||||
10
modules/attendance/view/sheet_line_list.xml
Normal file
10
modules/attendance/view/sheet_line_list.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?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="from_" widget="date" expand="1"/>
|
||||
<field name="from_" widget="time" expand="1"/>
|
||||
<field name="to" widget="date" expand="1"/>
|
||||
<field name="to" widget="time" expand="1"/>
|
||||
<field name="duration" expand="2"/>
|
||||
</tree>
|
||||
9
modules/attendance/view/sheet_list.xml
Normal file
9
modules/attendance/view/sheet_list.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?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="company" expand="1" optional="1"/>
|
||||
<field name="employee" expand="2"/>
|
||||
<field name="date"/>
|
||||
<field name="duration" expand="2"/>
|
||||
</tree>
|
||||
8
modules/attendance/view/sheet_list_timesheet.xml
Normal file
8
modules/attendance/view/sheet_list_timesheet.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?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. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='duration']" position="after">
|
||||
<field name="timesheet_duration" expand="2"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user