Skip to content

Commit 1fc7dcf

Browse files
committed
[MIG] hr_commission_oca: Migration to 19.0
1 parent e5b612d commit 1fc7dcf

File tree

4 files changed

+19
-18
lines changed

4 files changed

+19
-18
lines changed

hr_commission_oca/README.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ HR commissions OCA
2121
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
2222
:alt: License: AGPL-3
2323
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcommission-lightgray.png?logo=github
24-
:target: https://github.com/OCA/commission/tree/18.0/hr_commission_oca
24+
:target: https://github.com/OCA/commission/tree/19.0/hr_commission_oca
2525
:alt: OCA/commission
2626
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27-
:target: https://translation.odoo-community.org/projects/commission-18-0/commission-18-0-hr_commission_oca
27+
:target: https://translation.odoo-community.org/projects/commission-19-0/commission-19-0-hr_commission_oca
2828
:alt: Translate me on Weblate
2929
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30-
:target: https://runboat.odoo-community.org/builds?repo=OCA/commission&target_branch=18.0
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/commission&target_branch=19.0
3131
:alt: Try me on Runboat
3232

3333
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -48,16 +48,16 @@ created.
4848
Known issues / Roadmap
4949
======================
5050

51-
- Add demo data.
52-
- Link settlements with wages.
51+
- Add demo data.
52+
- Link settlements with wages.
5353

5454
Bug Tracker
5555
===========
5656

5757
Bugs are tracked on `GitHub Issues <https://github.com/OCA/commission/issues>`_.
5858
In case of trouble, please check there if your issue has already been reported.
5959
If you spotted it first, help us to smash it by providing a detailed and welcomed
60-
`feedback <https://github.com/OCA/commission/issues/new?body=module:%20hr_commission_oca%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
60+
`feedback <https://github.com/OCA/commission/issues/new?body=module:%20hr_commission_oca%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
6161

6262
Do not contact contributors directly about support or help with technical issues.
6363

@@ -72,15 +72,15 @@ Authors
7272
Contributors
7373
------------
7474

75-
- `Tecnativa <https://www.tecnativa.com>`__
75+
- `Tecnativa <https://www.tecnativa.com>`__
7676

77-
- Pedro M. Baeza
78-
- João Marques
79-
- Ernesto García
80-
- David Bañón Gil
77+
- Pedro M. Baeza
78+
- João Marques
79+
- Ernesto García
80+
- David Bañón Gil
8181

82-
- Rattapong C. <rattapongc@ecosoft.co.th>
83-
- Mina S. Wahib minaw368@gmail.com
82+
- Rattapong C. <rattapongc@ecosoft.co.th>
83+
- Mina S. Wahib minaw368@gmail.com
8484

8585
Maintainers
8686
-----------
@@ -95,6 +95,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
9595
mission is to support the collaborative development of Odoo features and
9696
promote its widespread use.
9797

98-
This module is part of the `OCA/commission <https://github.com/OCA/commission/tree/18.0/hr_commission_oca>`_ project on GitHub.
98+
This module is part of the `OCA/commission <https://github.com/OCA/commission/tree/19.0/hr_commission_oca>`_ project on GitHub.
9999

100100
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

hr_commission_oca/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
{
66
"name": "HR commissions OCA",
7-
"version": "18.0.1.0.0",
7+
"version": "19.0.1.0.0",
88
"author": "Tecnativa, Odoo Community Association (OCA)",
99
"website": "https://github.com/OCA/commission",
1010
"category": "Commissions",

hr_commission_oca/static/description/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ <h1>HR commissions OCA</h1>
374374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375375
!! source digest: sha256:b36e2256947013011931cc80fc440a6e2db7010c4aa5abaeafd242af366fa22d
376376
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/commission/tree/18.0/hr_commission_oca"><img alt="OCA/commission" src="https://img.shields.io/badge/github-OCA%2Fcommission-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/commission-18-0/commission-18-0-hr_commission_oca"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/commission&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
377+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/commission/tree/19.0/hr_commission_oca"><img alt="OCA/commission" src="https://img.shields.io/badge/github-OCA%2Fcommission-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/commission-19-0/commission-19-0-hr_commission_oca"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/commission&amp;target_branch=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378378
<p>This module links sale_commission with hr module. For now, it only adds
379379
another type of agent whose commissions are not invoiced in the
380380
corresponding wizard.</p>
@@ -406,7 +406,7 @@ <h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
406406
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/commission/issues">GitHub Issues</a>.
407407
In case of trouble, please check there if your issue has already been reported.
408408
If you spotted it first, help us to smash it by providing a detailed and welcomed
409-
<a class="reference external" href="https://github.com/OCA/commission/issues/new?body=module:%20hr_commission_oca%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
409+
<a class="reference external" href="https://github.com/OCA/commission/issues/new?body=module:%20hr_commission_oca%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
410410
<p>Do not contact contributors directly about support or help with technical issues.</p>
411411
</div>
412412
<div class="section" id="credits">
@@ -440,7 +440,7 @@ <h3><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h3>
440440
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
441441
mission is to support the collaborative development of Odoo features and
442442
promote its widespread use.</p>
443-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/commission/tree/18.0/hr_commission_oca">OCA/commission</a> project on GitHub.</p>
443+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/commission/tree/19.0/hr_commission_oca">OCA/commission</a> project on GitHub.</p>
444444
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
445445
</div>
446446
</div>

hr_commission_oca/tests/test_hr_commission.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class TestHrCommission(TestCommissionBase):
1111
@classmethod
1212
def setUpClass(cls):
1313
super().setUpClass()
14+
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))
1415
cls.employee = cls.env["hr.employee"].create({"name": "Test employee"})
1516
cls.user = new_test_user(
1617
cls.env, name="Test user", login="test_hr_commission@example.org"

0 commit comments

Comments
 (0)