Skip to content

Commit ecb0466

Browse files
committed
Merge PR #244 into 16.0
Signed-off-by peluko00
2 parents a49680a + d29ca5a commit ecb0466

File tree

5 files changed

+33
-18
lines changed

5 files changed

+33
-18
lines changed

hr_payroll_document/README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ Contributors
5858

5959
* Antoni Marroig Campomar <[email protected]>
6060
* Miquel Alzanillas Monserrat <[email protected]>
61+
* `PyTech <https://www.pytech.it>`_:
62+
63+
* Simone Rubino <[email protected]>
6164

6265
Maintainers
6366
~~~~~~~~~~~
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
* Antoni Marroig Campomar <[email protected]>
22
* Miquel Alzanillas Monserrat <[email protected]>
3+
* `PyTech <https://www.pytech.it>`_:
4+
5+
* Simone Rubino <[email protected]>

hr_payroll_document/static/description/index.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<?xml version="1.0" encoding="utf-8"?>
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
32
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
43
<head>
@@ -9,10 +8,11 @@
98

109
/*
1110
:Author: David Goodger ([email protected])
12-
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
11+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
1312
:Copyright: This stylesheet has been placed in the public domain.
1413
1514
Default cascading style sheet for the HTML output of Docutils.
15+
Despite the name, some widely supported CSS2 features are used.
1616
1717
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1818
customize this style sheet.
@@ -275,7 +275,7 @@
275275
margin-left: 2em ;
276276
margin-right: 2em }
277277

278-
pre.code .ln { color: grey; } /* line numbers */
278+
pre.code .ln { color: gray; } /* line numbers */
279279
pre.code, code { background-color: #eeeeee }
280280
pre.code .comment, code .comment { color: #5C6576 }
281281
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -301,7 +301,7 @@
301301
span.pre {
302302
white-space: pre }
303303

304-
span.problematic {
304+
span.problematic, pre.problematic {
305305
color: red }
306306

307307
span.section-subtitle {
@@ -404,12 +404,18 @@ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
404404
<ul class="simple">
405405
<li>Antoni Marroig Campomar &lt;<a class="reference external" href="mailto:amarroig&#64;apsl.net">amarroig&#64;apsl.net</a>&gt;</li>
406406
<li>Miquel Alzanillas Monserrat &lt;<a class="reference external" href="mailto:malzanillas&#64;apsl.net">malzanillas&#64;apsl.net</a>&gt;</li>
407+
<li><a class="reference external" href="https://www.pytech.it">PyTech</a>:<ul>
408+
<li>Simone Rubino &lt;<a class="reference external" href="mailto:simone.rubino&#64;pytech.it">simone.rubino&#64;pytech.it</a>&gt;</li>
409+
</ul>
410+
</li>
407411
</ul>
408412
</div>
409413
<div class="section" id="maintainers">
410414
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
411415
<p>This module is maintained by the OCA.</p>
412-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
416+
<a class="reference external image-reference" href="https://odoo-community.org">
417+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
418+
</a>
413419
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
414420
mission is to support the collaborative development of Odoo features and
415421
promote its widespread use.</p>

hr_payroll_document/tests/test_hr_payroll_document.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ def test_one_employee_not_found(self):
6868
"type": "ir.actions.act_window",
6969
"res_model": "hr.employee",
7070
"views": [
71-
(
72-
self.env.ref("hr.hr_employee_public_view_kanban").id,
73-
"list",
74-
)
71+
(False, "kanban"),
72+
(False, "tree"),
73+
(False, "form"),
74+
(False, "activity"),
7575
],
7676
},
7777
},
@@ -96,10 +96,10 @@ def test_send_payrolls_correctly(self):
9696
"type": "ir.actions.act_window",
9797
"res_model": "hr.employee",
9898
"views": [
99-
(
100-
self.env.ref("hr.hr_employee_public_view_kanban").id,
101-
"list",
102-
)
99+
(False, "kanban"),
100+
(False, "tree"),
101+
(False, "form"),
102+
(False, "activity"),
103103
],
104104
},
105105
},

hr_payroll_document/wizard/payroll_management_wizard.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ def send_payrolls(self):
7979
"type": "ir.actions.act_window",
8080
"res_model": "hr.employee",
8181
"views": [
82-
(
83-
self.env.ref("hr.hr_employee_public_view_kanban").id,
84-
"list",
85-
)
82+
(False, "kanban"),
83+
(False, "tree"),
84+
(False, "form"),
85+
(False, "activity"),
8686
],
8787
},
8888
},
@@ -101,7 +101,10 @@ def send_payrolls(self):
101101
"type": "ir.actions.act_window",
102102
"res_model": "hr.employee",
103103
"views": [
104-
(self.env.ref("hr.hr_employee_public_view_kanban").id, "list")
104+
(False, "kanban"),
105+
(False, "tree"),
106+
(False, "form"),
107+
(False, "activity"),
105108
],
106109
},
107110
},

0 commit comments

Comments
 (0)