From c5679f0e22b866b1996bc2ffeb84e5d02f8511cf Mon Sep 17 00:00:00 2001 From: Dossogne Bertrand Date: Fri, 8 Apr 2022 16:16:36 +0000 Subject: [PATCH] [IMP] hr_contract*: improve general usability *: hr_contract hr_work_entry hr_work_entry_contract This commit changes several views and methods to improve general usability of the payroll application TaskID #2783013 closes odoo/odoo#89311 Related: odoo/enterprise#26466 Related: odoo/upgrade#3534 Signed-off-by: Yannick Tivisse (yti) --- .../hr_contract_history_report_views.xml | 2 +- .../js/hr_contract_history_list_controller.js | 23 +++++++++++++++++++ .../src/js/hr_contract_history_views.js | 13 +++++++++++ .../views/hr_work_entry_views.xml | 14 +++++++++-- .../src/js/work_entries_controller_mixin.js | 6 ++++- .../hr_work_entry_regeneration_wizard.py | 11 ++++++--- 6 files changed, 62 insertions(+), 7 deletions(-) create mode 100644 addons/hr_contract/static/src/js/hr_contract_history_list_controller.js create mode 100644 addons/hr_contract/static/src/js/hr_contract_history_views.js diff --git a/addons/hr_contract/report/hr_contract_history_report_views.xml b/addons/hr_contract/report/hr_contract_history_report_views.xml index ed1c5b47ba2..11a1f6c8e02 100644 --- a/addons/hr_contract/report/hr_contract_history_report_views.xml +++ b/addons/hr_contract/report/hr_contract_history_report_views.xml @@ -139,8 +139,8 @@ hr.contract.history