diff --git a/hr_contract_rate/README.rst b/hr_contract_rate/README.rst
index b42e3dbfd9d..de22f8d7f5b 100644
--- a/hr_contract_rate/README.rst
+++ b/hr_contract_rate/README.rst
@@ -17,13 +17,13 @@ HR Contract Rate
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github
- :target: https://github.com/OCA/hr/tree/14.0/hr_contract_rate
+ :target: https://github.com/OCA/hr/tree/16.0/hr_contract_rate
:alt: OCA/hr
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/hr-14-0/hr-14-0-hr_contract_rate
+ :target: https://translation.odoo-community.org/projects/hr-16-0/hr-16-0-hr_contract_rate
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
- :target: https://runboat.odoo-community.org/builds?repo=OCA/hr&target_branch=14.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/hr&target_branch=16.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -62,7 +62,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues `_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
-`feedback `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -94,6 +94,6 @@ 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.
-This module is part of the `OCA/hr `_ project on GitHub.
+This module is part of the `OCA/hr `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/hr_contract_rate/__manifest__.py b/hr_contract_rate/__manifest__.py
index 6eff2b2cbcb..55d3289d6f7 100644
--- a/hr_contract_rate/__manifest__.py
+++ b/hr_contract_rate/__manifest__.py
@@ -4,7 +4,7 @@
{
"name": "HR Contract Rate",
- "version": "14.0.1.0.0",
+ "version": "16.0.1.0.0",
"category": "Human Resources",
"website": "https://github.com/OCA/hr",
"author": "CorporateHub, " "Odoo Community Association (OCA)",
diff --git a/hr_contract_rate/models/hr_contract.py b/hr_contract_rate/models/hr_contract.py
index c0115409288..36ae909a585 100644
--- a/hr_contract_rate/models/hr_contract.py
+++ b/hr_contract_rate/models/hr_contract.py
@@ -12,7 +12,6 @@ class HrContract(models.Model):
inverse="_inverse_wage",
store=True,
required=False,
- track_visibility=None,
)
approximate_wage = fields.Monetary(
string="Wage (approximate)",
@@ -40,8 +39,7 @@ class HrContract(models.Model):
help="How many work weeks there is in an average month",
)
amount = fields.Monetary(
- string="Amount",
- track_visibility="onchange",
+ tracking=True,
help="Employee's contract amount per period",
)
amount_period = fields.Selection(
@@ -55,7 +53,7 @@ class HrContract(models.Model):
("year", "Year"),
],
default="month",
- track_visibility="onchange",
+ tracking=True,
help="Period of employee's contract amount",
)
diff --git a/hr_contract_rate/static/description/index.html b/hr_contract_rate/static/description/index.html
index 7f8a8d37f61..1352f13811a 100644
--- a/hr_contract_rate/static/description/index.html
+++ b/hr_contract_rate/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 {
@@ -369,7 +369,7 @@
Bugs are tracked on GitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
-feedback.
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.
-
This module is part of the OCA/hr project on GitHub.
+
This module is part of the OCA/hr project on GitHub.