From 2e1ab63eada54cd3e459ea31a3731b26e164820b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Fri, 17 Aug 2018 16:18:40 +0200 Subject: [PATCH] [IMP] hr_holidays: add kanban views for leave and allocation Purpose of this commit is to add kanban views for allocation and leave request. It is already possible to reach those views notably using the activities systray. Default view contains only the name which is quite sad. We therefore add real kanban views for both models. This commit is linked to task ID 1876795 and PR #26571. --- .../views/hr_leave_allocation_views.xml | 72 +++++++++++++++++++ addons/hr_holidays/views/hr_leave_views.xml | 72 +++++++++++++++++++ 2 files changed, 144 insertions(+) diff --git a/addons/hr_holidays/views/hr_leave_allocation_views.xml b/addons/hr_holidays/views/hr_leave_allocation_views.xml index 18a7ab1bd0d..1befd24ebb5 100644 --- a/addons/hr_holidays/views/hr_leave_allocation_views.xml +++ b/addons/hr_holidays/views/hr_leave_allocation_views.xml @@ -216,6 +216,78 @@ + + hr.leave.allocation.view.kanban + hr.leave.allocation + + + + + + + + + + +
+
+ + + +
+
+ +
+
+ + + +
+
+
+
+ +
+
+ +
+
+
+ + + + + + + + + +
from
to
+
+
+ days +
+
+
+
+
+
+
+
+ My Allocations hr.leave.allocation diff --git a/addons/hr_holidays/views/hr_leave_views.xml b/addons/hr_holidays/views/hr_leave_views.xml index 035f7c2899f..f7f1723c96b 100644 --- a/addons/hr_holidays/views/hr_leave_views.xml +++ b/addons/hr_holidays/views/hr_leave_views.xml @@ -64,6 +64,78 @@ + + hr.leave.view.kanban + hr.leave + + + + + + + + + + +
+
+ + + +
+
+ +
+
+ + + +
+
+
+
+ +
+
+ +
+
+
+ + + + + + + + + +
from
to
+
+
+ days +
+
+
+
+
+
+
+
+ hr.leave.view.calendar hr.leave