From e80233cf3f8b8047c300c557cf34d2ddea9aecfa 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 2 files changed, 3 insertions(+), 1 deletion(-) 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 f209df767..dead1acef 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/**/*", 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