From 9fc3feabffd599be2b5a9176046530e4a45a0fcd Mon Sep 17 00:00:00 2001 From: David Alonso // Solvos Date: Wed, 15 Mar 2023 16:25:03 +0100 Subject: [PATCH] [IMP] hr_timesheet_activity_begin_end_readonly_duration: added temporary access to timesheet time fields in form view --- .../__manifest__.py | 2 +- .../views/hr_timesheet_views.xml | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 hr_timesheet_activity_begin_end_readonly_duration/views/hr_timesheet_views.xml diff --git a/hr_timesheet_activity_begin_end_readonly_duration/__manifest__.py b/hr_timesheet_activity_begin_end_readonly_duration/__manifest__.py index 76656a9..2eefe73 100644 --- a/hr_timesheet_activity_begin_end_readonly_duration/__manifest__.py +++ b/hr_timesheet_activity_begin_end_readonly_duration/__manifest__.py @@ -12,6 +12,6 @@ "category": "Project", "website": "https://github.com/solvosci/slv-timesheet", "depends": ["hr_timesheet_activity_begin_end"], - "data": [], + "data": ["views/hr_timesheet_views.xml"], 'installable': True, } diff --git a/hr_timesheet_activity_begin_end_readonly_duration/views/hr_timesheet_views.xml b/hr_timesheet_activity_begin_end_readonly_duration/views/hr_timesheet_views.xml new file mode 100644 index 0000000..09a19ea --- /dev/null +++ b/hr_timesheet_activity_begin_end_readonly_duration/views/hr_timesheet_views.xml @@ -0,0 +1,15 @@ + + + + + account.analytic.line.form (in hr_timesheet_activity_begin_end_readonly_duration) + account.analytic.line + + + + + + + + +