hr_attendance_analysis - many contracts for same employee

Bug #1200183 reported by Laetitia Gangloff (Acsone)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HR - Timesheet Management
Fix Released
Undecided
Unassigned

Bug Description

Prerequisite: install module hr_attendance_analysis on database with demo data, and set admin user as member of attendance group. (to install this module the bug https://bugs.launchpad.net/hr-timesheet/+bug/1193384 need to be corrected)

First case :
1/ Create a contract for a user with attendance (do not fill trial period) and set end date
2/ Create a contract for the same user (do not fill trial period) and set other start date and end date (not in the first period)
3/ It is not possible to save this new contract

Second case :
1/ Create a contract for a user with attendance (do not fill trial period) and set end date
2/ In the "more" menu choose the duplicate action
3/ It is not possible to create a duplicate,it is normal because there is the same period than the original, so I propose to set start date with the biggest end date. If the biggest end date is False, do nothing.

Third case :
The test to get active contract returns contract without trial period. A contract without trial period is not always an active contract.

Related branches

Changed in hr-timesheet:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.