From 2892c1759a1607b62a4b3edb71acb971f160cb21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Wed, 20 Nov 2024 09:39:42 +0100 Subject: [PATCH] [IMP] hr_attendance_reason: Change reasons to define them as demo data TT51793 --- hr_attendance_reason/__manifest__.py | 4 +++- .../hr_attendance_reason_demo.xml} | 0 hr_attendance_reason/static/description/index.html | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) rename hr_attendance_reason/{data/hr_attendance_reason_data.xml => demo/hr_attendance_reason_demo.xml} (100%) diff --git a/hr_attendance_reason/__manifest__.py b/hr_attendance_reason/__manifest__.py index 13428299..a9a9d531 100644 --- a/hr_attendance_reason/__manifest__.py +++ b/hr_attendance_reason/__manifest__.py @@ -12,13 +12,15 @@ "installable": True, "depends": ["hr_attendance"], "data": [ - "data/hr_attendance_reason_data.xml", "security/ir.model.access.csv", "security/security.xml", "views/hr_attendance_reason_view.xml", "views/hr_attendance_view.xml", "views/res_config_settings_view.xml", ], + "demo": [ + "demo/hr_attendance_reason_demo.xml", + ], "assets": { "web.assets_backend": [ "hr_attendance_reason/static/src/js/my_attendances.esm.js", diff --git a/hr_attendance_reason/data/hr_attendance_reason_data.xml b/hr_attendance_reason/demo/hr_attendance_reason_demo.xml similarity index 100% rename from hr_attendance_reason/data/hr_attendance_reason_data.xml rename to hr_attendance_reason/demo/hr_attendance_reason_demo.xml diff --git a/hr_attendance_reason/static/description/index.html b/hr_attendance_reason/static/description/index.html index 549dc59f..70d52aff 100644 --- a/hr_attendance_reason/static/description/index.html +++ b/hr_attendance_reason/static/description/index.html @@ -1,4 +1,3 @@ -