From 34abfad364ce069ce3061996df2669f8e93ff203 Mon Sep 17 00:00:00 2001 From: Laetitia Da Costa Date: Thu, 21 Dec 2023 12:32:21 +0100 Subject: [PATCH] [ADD]hr_usability_elabore --- hr_usability/__init__.py | 0 hr_usability/__manifest__.py | 28 ++++++++++++++++++++++ hr_usability/views/hr_leave_type_views.xml | 13 ++++++++++ 3 files changed, 41 insertions(+) create mode 100644 hr_usability/__init__.py create mode 100644 hr_usability/__manifest__.py create mode 100644 hr_usability/views/hr_leave_type_views.xml diff --git a/hr_usability/__init__.py b/hr_usability/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/hr_usability/__manifest__.py b/hr_usability/__manifest__.py new file mode 100644 index 0000000..eff0bcd --- /dev/null +++ b/hr_usability/__manifest__.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +{ + 'name': "hr_usability Elabore", + 'version': '16.0.1.0.0', + 'depends': ['base','hr'], + 'author': "Élabore", + 'category': 'Human Resources/Employees', + 'summary' : "In times off type form view, add 'create_calendar_meeting' field", + 'description': """ + + Go to Times off app > "Setings" > "Type time off" + Select a type + The 'create_calendar_meeting' is check by default + Uncheck it if do not want to display times off in the calendar + + One the checkbox is unchecked for a time off type, the next approuved times off (of that type) won't be created as a meeting and won't appear in the calendar + + """, + 'data': [ + 'views/hr_leave_type_views.xml', + ], + 'demo': [ + ], + 'application': False, + 'license': 'LGPL-3', +} \ No newline at end of file diff --git a/hr_usability/views/hr_leave_type_views.xml b/hr_usability/views/hr_leave_type_views.xml new file mode 100644 index 0000000..41856ea --- /dev/null +++ b/hr_usability/views/hr_leave_type_views.xml @@ -0,0 +1,13 @@ + + + + hr.leave.type.form.inherit + hr.leave.type + + + + + + + +