From e61e2792a93dfcb4125813e15ba93dc8339c84f3 Mon Sep 17 00:00:00 2001 From: Laetitia Da Costa Date: Wed, 17 Dec 2025 16:11:31 +0100 Subject: [PATCH] [IMP]hr_employee_stats_sheet:make allocation automaticly starting the starting date of the associated timesheet sheet --- hr_employee_stats_sheet/__manifest__.py | 2 +- hr_employee_stats_sheet/models/hr_timesheet_sheet.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hr_employee_stats_sheet/__manifest__.py b/hr_employee_stats_sheet/__manifest__.py index 7705ebe..9ab33bc 100755 --- a/hr_employee_stats_sheet/__manifest__.py +++ b/hr_employee_stats_sheet/__manifest__.py @@ -1,6 +1,6 @@ { "name": "hr_employee_stats_sheet", - "version": "16.0.3.0.1", + "version": "16.0.3.0.2", "description": "Add global sheet for employee stats", "summary": "Add global sheet for employee stats", "author": "Nicolas JEUDY", diff --git a/hr_employee_stats_sheet/models/hr_timesheet_sheet.py b/hr_employee_stats_sheet/models/hr_timesheet_sheet.py index fa43e6f..6159a81 100644 --- a/hr_employee_stats_sheet/models/hr_timesheet_sheet.py +++ b/hr_employee_stats_sheet/models/hr_timesheet_sheet.py @@ -159,6 +159,7 @@ class HrTimesheetSheet(models.Model): "number_of_days": recovery_days, "timesheet_sheet_id": self.id, "allocation_type": 'accrual', + "date_from": self.date_start, } )