Update documentation of attendance
This commit is contained in:
@@ -20,15 +20,19 @@ Version 6.6.0 - 2022-10-31
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.4.0 - 2022-05-02
|
||||
--------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add support for Python 3.10
|
||||
* Remove support for Python 3.6
|
||||
|
||||
Version 6.2.0 - 2021-11-01
|
||||
--------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.0 - 2021-05-03
|
||||
--------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 5.8.0 - 2020-11-02
|
||||
--------------------------
|
||||
* Initial release
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
******
|
||||
Design
|
||||
******
|
||||
|
||||
The *Attendance Module* introduces the following concepts:
|
||||
|
||||
.. _model-attendance.line:
|
||||
|
||||
Attendance
|
||||
==========
|
||||
|
||||
*Attendance* records when an `Employee <company:model-company.employee>` enters
|
||||
or leaves the `Company's <company:model-company.company>` premises.
|
||||
|
||||
.. seealso::
|
||||
|
||||
The *Attendance* lines can be found by opening the main menu item:
|
||||
|
||||
|Attendance --> Attendances|__
|
||||
|
||||
.. |Attendance --> Attendances| replace:: :menuselection:`Attendance --> Attendances`
|
||||
__ https://demo.tryton.org/model/attendance.line
|
||||
|
||||
.. _model-attendance.period:
|
||||
|
||||
Attendance Period
|
||||
=================
|
||||
|
||||
The *Attendance Period* is used to group together all the `Attendance
|
||||
<model-attendance.line>` lines that have taken place up to a certain date and
|
||||
that were after any previous *Attendance Period*.
|
||||
|
||||
When an *Attendance Period* is closed, it is no longer possible to create,
|
||||
modify or delete attendance lines before its date.
|
||||
|
||||
.. seealso::
|
||||
|
||||
The *Attendance Periods* can be found by opening the main menu item:
|
||||
|
||||
|Attendance --> Configuration --> Periods|__
|
||||
|
||||
.. |Attendance --> Configuration --> Periods| replace:: :menuselection:`Attendance --> Configuration --> Periods`
|
||||
__ https://demo.tryton.org/model/attendance.period
|
||||
|
||||
.. _model-attendance.sheet:
|
||||
|
||||
Attendance Sheet
|
||||
================
|
||||
|
||||
The *Attendance Sheet* reports, for each `Employee
|
||||
<company:model-company.employee>` and day, the total duration the employee was
|
||||
at the `Company's <company:model-company.company>` premises.
|
||||
It also contains a detailed list of each individual visit within that duration.
|
||||
|
||||
.. note::
|
||||
When the :doc:`Timesheet Module <timesheet:index>` is activated, the
|
||||
*Attendance Sheet* also displays the duration of the employee's timesheets
|
||||
for comparison.
|
||||
|
||||
.. seealso::
|
||||
|
||||
The *Attendance Sheets* can be found by opening the main menu item:
|
||||
|
||||
|Attendance --> Sheets|__
|
||||
|
||||
.. |Attendance --> Sheets| replace:: :menuselection:`Attendance --> Sheets`
|
||||
__ https://demo.tryton.org/model/attendance.sheet
|
||||
@@ -1,16 +1,12 @@
|
||||
#################
|
||||
Attendance Module
|
||||
#################
|
||||
|
||||
The attendance module allows you to track the entry and exit time of employees.
|
||||
The module also comes with a sheet that shows for each employee the total
|
||||
duration per day in the company and the detail of the time of entrance and
|
||||
exit.
|
||||
The *Attendance Module* allows tracking when employees arrive at, or leave, the
|
||||
company's premises.
|
||||
|
||||
If the timesheet module is activated it also shows the time the employee has
|
||||
spent on timesheets for that day.
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
Period
|
||||
******
|
||||
|
||||
Once a period is closed it is no longer possible to create, modify or delete
|
||||
attendance records that are before that date.
|
||||
design
|
||||
releases
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
.. _releases-index:
|
||||
|
||||
=============
|
||||
Release notes
|
||||
=============
|
||||
|
||||
.. include:: ../CHANGELOG
|
||||
@@ -14,8 +14,8 @@ def read(fname, slice=None):
|
||||
content = io.open(
|
||||
os.path.join(os.path.dirname(__file__), fname),
|
||||
'r', encoding='utf-8').read()
|
||||
if slice:
|
||||
content = '\n'.join(content.splitlines()[slice])
|
||||
content = re.sub(
|
||||
r'(?m)^\.\. toctree::\r?\n((^$|^\s.*$)\r?\n)*', '', content)
|
||||
return content
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ setup(name=name,
|
||||
download_url=download_url,
|
||||
project_urls={
|
||||
"Bug Tracker": 'https://bugs.tryton.org/',
|
||||
"Documentation": 'https://docs.tryton.org/',
|
||||
"Documentation": 'https://docs.tryton.org/latest/modules-attendance',
|
||||
"Forum": 'https://www.tryton.org/forum',
|
||||
"Source Code": 'https://code.tryton.org/tryton',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user