Author: |
Numigi |
License: |
LGPL-3 |
Branch: |
TA#51167 |
Repository: |
Numigi/odoo-project-addons |
Dependencies: |
hr_attendance,
and
project_timesheet_time_control |
Languages: |
PO File (25, 12.2%),
Python (125, 61.0%),
XML (29, 14.1%),
and
reStructuredText (26, 12.7%) |
Other branches: |
12.0,
TA#45459---project_milestone_timeline_dynamic,
TA#46088---project_timesheet_time_control_employee_pin,
and
TumbaoJu-patch-1 |
<a name="project-timesheet-time-control-employee-pin"></a>
<h2>Project Timesheet Time Control Employee PIN</h2>
<a name="overview"></a>
<h2>Overview</h2>
<p>This module allows you to create timesheets for an employee different from the
one linked to its user from the timer added by
<a class="reference external" href="https://github.com/OCA/project/tree/12.0/project_timesheet_time_control">project_timesheet_time_control</a> module</p>
<a name="usage"></a>
<h2>Usage</h2>
<p>As a user belonging to the <cite>Attendance / Manager</cite> group, I go to the form view of an Employee.
Under the HR Settings tab, I fill in the Code (PIN) field and I save.</p>
<img alt="static/description/employee_code_pin.png" src="static/description/employee_code_pin.png" />
<p>If the field <cite>PIN</cite> doesn't appear in the form view,
make sure you have the right <cite>Enable PIN use</cite> checked.</p>
<p>As an employee with access <cite>Timesheet / Manager</cite>, I go to a project or a task and click on <cite>Start work</cite>.
I see that the following two fields are present:</p>
<img alt="static/description/new_fields_added.png" src="static/description/new_fields_added.png" />
<p>If I insert the PIN, the employee will be automatically added.</p>
<img alt="static/description/employee_automatically_added.png" src="static/description/employee_automatically_added.png" />
<p>As a <cite>Timesheets / Manager</cite> user, I go to the <cite>Timesheets application > All timesheets</cite>.
I see that the timesheet line is created and that it is associated
with the employee chosen by NIP.</p>
<img alt="static/description/timesheet_line_with_employee_nip.png" src="static/description/timesheet_line_with_employee_nip.png" />
<p>I return to another project to start new work timer for the same employee,
I notice that the message about the current timer is displayed and the <cite>Start new timer</cite> button is replaced by the <cite>Stop the previous timer and start the new</cite> button.</p>
<img alt="static/description/stop_running_timer_to_start_new_one.png" src="static/description/stop_running_timer_to_start_new_one.png" />
<p>As a <cite>Timesheets / Manager</cite> user, I go again to the <cite>Timesheets application > All timesheets</cite>.
I see that a new timesheet line is created for the employee.</p>
<img alt="static/description/timesheet_line_with_employee_nip.png" src="static/description/timesheet_line_with_employee_nip.png" />
<a name="contributors"></a>
<h2>Contributors</h2>
<ul class="simple">
<li>Numigi (tm) and all its contributors (<a class="reference external" href="https://bit.ly/numigiens">https://bit.ly/numigiens</a>)</li>
</ul>