[IMP]hr_employee_stats_sheet:make allocation automaticly starting the starting date of the associated timesheet sheet
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hr_employee_stats_sheet",
|
"name": "hr_employee_stats_sheet",
|
||||||
"version": "16.0.3.0.1",
|
"version": "16.0.3.0.2",
|
||||||
"description": "Add global sheet for employee stats",
|
"description": "Add global sheet for employee stats",
|
||||||
"summary": "Add global sheet for employee stats",
|
"summary": "Add global sheet for employee stats",
|
||||||
"author": "Nicolas JEUDY",
|
"author": "Nicolas JEUDY",
|
||||||
|
|||||||
@@ -159,6 +159,7 @@ class HrTimesheetSheet(models.Model):
|
|||||||
"number_of_days": recovery_days,
|
"number_of_days": recovery_days,
|
||||||
"timesheet_sheet_id": self.id,
|
"timesheet_sheet_id": self.id,
|
||||||
"allocation_type": 'accrual',
|
"allocation_type": 'accrual',
|
||||||
|
"date_from": self.date_start,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user