diff --git a/hr_payroll_document/README.rst b/hr_payroll_document/README.rst index d8023bfd5..b5cbf57ab 100644 --- a/hr_payroll_document/README.rst +++ b/hr_payroll_document/README.rst @@ -58,6 +58,9 @@ Contributors * Antoni Marroig Campomar * Miquel Alzanillas Monserrat +* `PyTech `_: + + * Simone Rubino Maintainers ~~~~~~~~~~~ diff --git a/hr_payroll_document/readme/CONTRIBUTORS.rst b/hr_payroll_document/readme/CONTRIBUTORS.rst index 08488d3fa..fc832defa 100644 --- a/hr_payroll_document/readme/CONTRIBUTORS.rst +++ b/hr_payroll_document/readme/CONTRIBUTORS.rst @@ -1,2 +1,5 @@ * Antoni Marroig Campomar * Miquel Alzanillas Monserrat +* `PyTech `_: + + * Simone Rubino diff --git a/hr_payroll_document/static/description/index.html b/hr_payroll_document/static/description/index.html index f9e203549..b7e404efe 100644 --- a/hr_payroll_document/static/description/index.html +++ b/hr_payroll_document/static/description/index.html @@ -1,4 +1,3 @@ - @@ -9,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -404,12 +404,18 @@

Contributors

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

diff --git a/hr_payroll_document/tests/test_hr_payroll_document.py b/hr_payroll_document/tests/test_hr_payroll_document.py index 1259a74a4..e7c29a4f6 100644 --- a/hr_payroll_document/tests/test_hr_payroll_document.py +++ b/hr_payroll_document/tests/test_hr_payroll_document.py @@ -68,10 +68,10 @@ def test_one_employee_not_found(self): "type": "ir.actions.act_window", "res_model": "hr.employee", "views": [ - ( - self.env.ref("hr.hr_employee_public_view_kanban").id, - "list", - ) + (False, "kanban"), + (False, "tree"), + (False, "form"), + (False, "activity"), ], }, }, @@ -96,10 +96,10 @@ def test_send_payrolls_correctly(self): "type": "ir.actions.act_window", "res_model": "hr.employee", "views": [ - ( - self.env.ref("hr.hr_employee_public_view_kanban").id, - "list", - ) + (False, "kanban"), + (False, "tree"), + (False, "form"), + (False, "activity"), ], }, }, diff --git a/hr_payroll_document/wizard/payroll_management_wizard.py b/hr_payroll_document/wizard/payroll_management_wizard.py index 208753033..8cb5f2ba7 100644 --- a/hr_payroll_document/wizard/payroll_management_wizard.py +++ b/hr_payroll_document/wizard/payroll_management_wizard.py @@ -79,10 +79,10 @@ def send_payrolls(self): "type": "ir.actions.act_window", "res_model": "hr.employee", "views": [ - ( - self.env.ref("hr.hr_employee_public_view_kanban").id, - "list", - ) + (False, "kanban"), + (False, "tree"), + (False, "form"), + (False, "activity"), ], }, }, @@ -101,7 +101,10 @@ def send_payrolls(self): "type": "ir.actions.act_window", "res_model": "hr.employee", "views": [ - (self.env.ref("hr.hr_employee_public_view_kanban").id, "list") + (False, "kanban"), + (False, "tree"), + (False, "form"), + (False, "activity"), ], }, },