From 2ffbb6ac5c011075d9047f3941c21951482f054e Mon Sep 17 00:00:00 2001
From: Benjamin <benjamin@le-filament.com>
Date: Fri, 14 Feb 2020 18:12:57 +0100
Subject: [PATCH] =?UTF-8?q?[cgscop=20#127]=20Ajout=20de=20la=20date=20dans?=
 =?UTF-8?q?=20le=20contexte=20pour=20cr=C3=A9ation=20depuis=20LDT?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 models/hr_timesheet.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/models/hr_timesheet.py b/models/hr_timesheet.py
index d5f5259..71fce40 100644
--- a/models/hr_timesheet.py
+++ b/models/hr_timesheet.py
@@ -45,6 +45,7 @@ class ScopHrTimesheetExp(models.Model):
                     'default_coop_id': ts.partner_id.id,
                     'default_account_analytic_id': ts.project_id.id,
                     'default_ur_financial_system_id': ts.ur_financial_system_id.id,
+                    'default_date': ts.date,
                 },
             }
 
@@ -62,5 +63,6 @@ class ScopHrTimesheetExp(models.Model):
                     'default_coop_id': ts.partner_id.id,
                     'default_account_analytic_id': ts.project_id.id,
                     'default_ur_financial_system_id': ts.ur_financial_system_id.id,
+                    'default_date': ts.date,
                 },
             }
-- 
GitLab