From 847c290c28ab04af9fcf29e87553ceddd408ceb4 Mon Sep 17 00:00:00 2001
From: Benjamin <benjamin@le-filament.com>
Date: Wed, 27 May 2020 13:45:52 +0200
Subject: [PATCH] =?UTF-8?q?[cgscop=20#145]=20ajout=20types=20de=20r=C3=A9u?=
 =?UTF-8?q?nion=20"formation"=20sur=20l'agenda?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

diff --git a/models/calendar.py b/models/calendar.py
index 8cd5e2c..28dba4b 100644
--- a/models/calendar.py
+++ b/models/calendar.py
@@ -41,6 +41,7 @@ class CGScopCalendar(models.Model):
     type = fields.Selection(
         [('outside', 'Extérieur'),
          ('ur', 'UR'),
+         ('training', 'Formation'),
          ('absent', 'Absence, Congés, Divers')],
         string="Type de Réunion")
     location = fields.Text()
diff --git a/models/hr_timesheet.py b/models/hr_timesheet.py
index 60071dc..590b266 100644
--- a/models/hr_timesheet.py
+++ b/models/hr_timesheet.py
@@ -20,6 +20,7 @@ class ScopHrTimesheetCalendar(models.Model):
     type_event = fields.Selection([
         ('outside', 'Extérieur'),
         ('ur', 'UR'),
+        ('training', 'Formation'),
         ('absent', 'Absence, Congés, Divers')],
         string="Type de Réunion",
         related='event_id.type')
-- 
GitLab