From 0437a9c9bef13a3a0d7ddf76a425a9202831758b Mon Sep 17 00:00:00 2001 From: Laetitia Da Costa Date: Tue, 9 Sep 2025 10:47:10 +0200 Subject: [PATCH] [ADD]hr_timesheet_sheet_usability --- hr_timesheet_sheet_usability/README.rst | 55 +++++++++++++ hr_timesheet_sheet_usability/__init__.py | 0 hr_timesheet_sheet_usability/__manifest__.py | 19 +++++ hr_timesheet_sheet_usability/i18n/fr.po | 80 +++++++++++++++++++ .../i18n/hr_timesheet_sheet_usability.pot | 26 ++++++ .../views/account_analytic_line_views.xml | 11 +++ .../views/hr_timesheet_sheet_menu.xml | 47 +++++++++++ 7 files changed, 238 insertions(+) create mode 100644 hr_timesheet_sheet_usability/README.rst create mode 100755 hr_timesheet_sheet_usability/__init__.py create mode 100755 hr_timesheet_sheet_usability/__manifest__.py create mode 100644 hr_timesheet_sheet_usability/i18n/fr.po create mode 100644 hr_timesheet_sheet_usability/i18n/hr_timesheet_sheet_usability.pot create mode 100644 hr_timesheet_sheet_usability/views/account_analytic_line_views.xml create mode 100644 hr_timesheet_sheet_usability/views/hr_timesheet_sheet_menu.xml diff --git a/hr_timesheet_sheet_usability/README.rst b/hr_timesheet_sheet_usability/README.rst new file mode 100644 index 0000000..bf52f64 --- /dev/null +++ b/hr_timesheet_sheet_usability/README.rst @@ -0,0 +1,55 @@ +============================ +hr_timesheet_sheet_usability +============================ + +Summary +======= + +Various changes to improve the usability of hr_timesheet_sheet application + +Description +=========== + +This module changes : +- menu, menu order, menu access right +- french translation +of hr_timesheet_sheet module + +Installation +============ + +Use Odoo normal module installation procedure to install +``hr_timesheet_sheet_usability``. + +Known issues / Roadmap +====================== + +None yet. + +Bug Tracker +=========== + +Bugs are tracked on `our issues website `_. In case of +trouble, please check there if your issue has already been +reported. If you spotted it first, help us smashing it by providing a +detailed and welcomed feedback. + +Credits +======= + +Contributors +------------ + +* `Elabore ` + +Funders +------- + +The development of this module has been financially supported by: +* Elabore (https://elabore.coop) + + +Maintainer +---------- + +This module is maintained by Elabore. \ No newline at end of file diff --git a/hr_timesheet_sheet_usability/__init__.py b/hr_timesheet_sheet_usability/__init__.py new file mode 100755 index 0000000..e69de29 diff --git a/hr_timesheet_sheet_usability/__manifest__.py b/hr_timesheet_sheet_usability/__manifest__.py new file mode 100755 index 0000000..4801aba --- /dev/null +++ b/hr_timesheet_sheet_usability/__manifest__.py @@ -0,0 +1,19 @@ +{ + "name": "hr_timesheet_sheet_usability", + "version": "16.0.1.0.0", + "description": "Various changes to improve the usability of hr_timesheet_sheet application", + "summary": "", + "author": "Elabore", + "website": "https://github.com/Alusage/odoo-hr-addons", + "license": "LGPL-3", + "category": "Human Resources", + "depends": [ + "base","hr_timesheet","hr_timesheet_sheet", + ], + "data": [ + "views/hr_timesheet_sheet_menu.xml", + "views/account_analytic_line_views.xml", + ], + "installable": True, + "application": False, +} diff --git a/hr_timesheet_sheet_usability/i18n/fr.po b/hr_timesheet_sheet_usability/i18n/fr.po new file mode 100644 index 0000000..0a6ac4c --- /dev/null +++ b/hr_timesheet_sheet_usability/i18n/fr.po @@ -0,0 +1,80 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2025-06-19 09:03+0000\n" +"PO-Revision-Date: 2025-06-19 09:03+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: hr_timesheet +#: model:ir.actions.act_window,name:hr_timesheet.timesheet_action_all +#: model:ir.ui.menu,name:hr_timesheet.timesheet_menu_activity_all +msgid "All Timesheets" +msgstr "Tous les temps" + +#. module: hr_timesheet +#: model:ir.actions.act_window,name:hr_timesheet.act_hr_timesheet_line +#: model:ir.ui.menu,name:hr_timesheet.timesheet_menu_activity_mine +#: model:ir.ui.menu,name:hr_timesheet.timesheet_menu_activity_user +#: model_terms:ir.ui.view,arch_db:hr_timesheet.hr_timesheet_line_search +#: model_terms:ir.ui.view,arch_db:hr_timesheet.hr_timesheet_report_search +msgid "My Timesheets" +msgstr "Mes temps" + +#. module: hr_timesheet +#. odoo-python +#: code:addons/hr_timesheet/models/hr_timesheet.py:0 +#: code:addons/hr_timesheet/models/project.py:0 +#: model:ir.actions.act_window,name:hr_timesheet.act_hr_timesheet_line_by_project +#: model:ir.actions.act_window,name:hr_timesheet.timesheet_action_from_employee +#: model:ir.actions.report,name:hr_timesheet.timesheet_report +#: model:ir.actions.report,name:hr_timesheet.timesheet_report_project +#: model:ir.actions.report,name:hr_timesheet.timesheet_report_task +#: model:ir.actions.report,name:hr_timesheet.timesheet_report_task_timesheets +#: model:ir.model.fields,field_description:hr_timesheet.field_project_project__allow_timesheets +#: model:ir.model.fields,field_description:hr_timesheet.field_project_task__timesheet_ids +#: model:ir.ui.menu,name:hr_timesheet.menu_hr_time_tracking +#: model:ir.ui.menu,name:hr_timesheet.menu_timesheets_reports_timesheet +#: model:ir.ui.menu,name:hr_timesheet.timesheet_menu_root +#: model_terms:ir.ui.view,arch_db:hr_timesheet.hr_department_view_kanban +#: model_terms:ir.ui.view,arch_db:hr_timesheet.portal_layout +#: model_terms:ir.ui.view,arch_db:hr_timesheet.portal_my_home_timesheet +#: model_terms:ir.ui.view,arch_db:hr_timesheet.portal_my_task +#: model_terms:ir.ui.view,arch_db:hr_timesheet.portal_my_timesheets +#: model_terms:ir.ui.view,arch_db:hr_timesheet.project_invoice_form +#: model_terms:ir.ui.view,arch_db:hr_timesheet.project_project_view_form_simplified_inherit_timesheet +#: model_terms:ir.ui.view,arch_db:hr_timesheet.project_sharing_inherit_project_task_view_form +#: model_terms:ir.ui.view,arch_db:hr_timesheet.report_timesheet +#: model_terms:ir.ui.view,arch_db:hr_timesheet.report_timesheet_task +#: model_terms:ir.ui.view,arch_db:hr_timesheet.res_config_settings_view_form +#: model_terms:ir.ui.view,arch_db:hr_timesheet.timesheet_project_task_page +#: model_terms:ir.ui.view,arch_db:hr_timesheet.timesheets_analysis_report_graph_employee +#: model_terms:ir.ui.view,arch_db:hr_timesheet.timesheets_analysis_report_graph_project +#: model_terms:ir.ui.view,arch_db:hr_timesheet.timesheets_analysis_report_graph_task +#: model_terms:ir.ui.view,arch_db:hr_timesheet.view_hr_timesheet_line_graph +#: model_terms:ir.ui.view,arch_db:hr_timesheet.view_hr_timesheet_line_pivot +#: model_terms:ir.ui.view,arch_db:hr_timesheet.view_project_kanban_inherited +#: model_terms:ir.ui.view,arch_db:hr_timesheet.view_task_form2_inherited +#, python-format +msgid "Timesheets" +msgstr "Temps" + +#. module: hr_timesheet_sheet +#: model:ir.actions.act_window,name:hr_timesheet_sheet.act_hr_timesheet_sheet_all_timesheets +#: model:ir.ui.menu,name:hr_timesheet_sheet.menu_act_hr_timesheet_sheet_all_timesheets +msgid "All Timesheet Sheets" +msgstr "Toutes les feuilles de temps" + +#. module: hr_timesheet_sheet +#: model:ir.ui.menu,name:hr_timesheet_sheet.menu_hr_my_timesheets +msgid "My Timesheets" +msgstr "Feuilles de temps" \ No newline at end of file diff --git a/hr_timesheet_sheet_usability/i18n/hr_timesheet_sheet_usability.pot b/hr_timesheet_sheet_usability/i18n/hr_timesheet_sheet_usability.pot new file mode 100644 index 0000000..471dd4c --- /dev/null +++ b/hr_timesheet_sheet_usability/i18n/hr_timesheet_sheet_usability.pot @@ -0,0 +1,26 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_timesheet_sheet_usability +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2025-09-15 08:39+0000\n" +"PO-Revision-Date: 2025-09-15 08:39+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: hr_timesheet_sheet_usability +#: model_terms:ir.ui.view,arch_db:hr_timesheet_sheet_usability.view_hr_timesheet_sheet_group_by_inherit +msgid "Date de départ" +msgstr "" + +#. module: hr_timesheet_sheet_usability +#: model_terms:ir.ui.view,arch_db:hr_timesheet_sheet_usability.view_hr_timesheet_sheet_group_by_inherit +msgid "Timesheet by Date" +msgstr "" \ No newline at end of file diff --git a/hr_timesheet_sheet_usability/views/account_analytic_line_views.xml b/hr_timesheet_sheet_usability/views/account_analytic_line_views.xml new file mode 100644 index 0000000..7dbd6ac --- /dev/null +++ b/hr_timesheet_sheet_usability/views/account_analytic_line_views.xml @@ -0,0 +1,11 @@ + + + + False + + + + + False + + \ No newline at end of file diff --git a/hr_timesheet_sheet_usability/views/hr_timesheet_sheet_menu.xml b/hr_timesheet_sheet_usability/views/hr_timesheet_sheet_menu.xml new file mode 100644 index 0000000..11bee10 --- /dev/null +++ b/hr_timesheet_sheet_usability/views/hr_timesheet_sheet_menu.xml @@ -0,0 +1,47 @@ + + + + + hr_timesheet.sheet.filter + hr_timesheet.sheet + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file