-
-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] hr_timesheet_sheet_attendance: Migration to 15.0
- Loading branch information
1 parent
9821030
commit f85cb1c
Showing
6 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
This module relies on: | ||
|
||
* The OCA module 'HR Timesheet Sheet', and can be downloaded from | ||
Github: https://github.com/OCA/hr-timesheet/tree/12.0/hr_timesheet_sheet | ||
Github: https://github.com/OCA/hr-timesheet/tree/15.0/hr_timesheet_sheet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
By having Check-in/out button in the timesheet, there could perhaps be a case where the user does two clicks in a fast way, then the check-in and check-out times are the same and the attendance gets blocked as there is an Odoo standard check which verifies that the attendance check-in time is strictly minor than the check-out time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ def _create_employee(self, user): | |
"department_id": self.env.ref("hr.dep_rd").id, | ||
"job_id": self.env.ref("hr.job_developer").id, | ||
"category_ids": [(6, 0, [self.env.ref("hr.employee_category_4").id])], | ||
"work_location": "Building 1, Second Floor", | ||
"work_location_id": self.env.ref("hr.work_location_1").id, | ||
"work_email": "[email protected]", | ||
"work_phone": "+3281813700", | ||
} | ||
|