Skip to content

Commit 90eeba3

Browse files
committed
[MIG] purchase_requisition_tier_validation: Migration to 16.0
1 parent b89a330 commit 90eeba3

File tree

6 files changed

+43
-17
lines changed

6 files changed

+43
-17
lines changed

purchase_requisition_tier_validation/README.rst

+15-7
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ Purchase Requisition Tier Validation
1414
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1515
:alt: License: AGPL-3
1616
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github
17-
:target: https://github.com/OCA/purchase-workflow/tree/15.0/purchase_requisition_tier_validation
17+
:target: https://github.com/OCA/purchase-workflow/tree/16.0/purchase_requisition_tier_validation
1818
:alt: OCA/purchase-workflow
1919
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
20-
:target: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_requisition_tier_validation
20+
:target: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_requisition_tier_validation
2121
:alt: Translate me on Weblate
22-
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
23-
:target: https://runbot.odoo-community.org/runbot/142/15.0
24-
:alt: Try me on Runbot
22+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
23+
:target: https://runboat.odoo-community.org/webui/builds.html?repo=OCA/purchase-workflow&target_branch=16.0
24+
:alt: Try me on Runboat
2525

2626
|badge1| |badge2| |badge3| |badge4| |badge5|
2727

@@ -70,7 +70,7 @@ Bug Tracker
7070
Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-workflow/issues>`_.
7171
In case of trouble, please check there if your issue has already been reported.
7272
If you spotted it first, help us smashing it by providing a detailed and welcomed
73-
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_requisition_tier_validation%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
73+
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_requisition_tier_validation%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
7474

7575
Do not contact contributors directly about support or help with technical issues.
7676

@@ -90,6 +90,14 @@ Contributors
9090
* Pimolnat Suntian <[email protected]>
9191
* Kitti U. <[email protected]> (migration to v14)
9292

93+
* `Trobz <https://trobz.com>`_:
94+
* Dzung Tran <[email protected]>
95+
96+
Other credits
97+
~~~~~~~~~~~~~
98+
99+
This module extends the functionality of Purchase Agreements to support a tier validation process.
100+
93101
Maintainers
94102
~~~~~~~~~~~
95103

@@ -103,6 +111,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
103111
mission is to support the collaborative development of Odoo features and
104112
promote its widespread use.
105113

106-
This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/15.0/purchase_requisition_tier_validation>`_ project on GitHub.
114+
This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/16.0/purchase_requisition_tier_validation>`_ project on GitHub.
107115

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

purchase_requisition_tier_validation/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "Purchase Requisition Tier Validation",
66
"summary": "Extends the functionality of Purchase Agreements to "
77
"support a tier validation process.",
8-
"version": "15.0.1.0.0",
8+
"version": "16.0.1.0.0",
99
"category": "Purchases",
1010
"website": "https://github.com/OCA/purchase-workflow",
1111
"author": "Ecosoft, Odoo Community Association (OCA)",

purchase_requisition_tier_validation/readme/CONTRIBUTORS.rst

+3
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22

33
* Pimolnat Suntian <[email protected]>
44
* Kitti U. <[email protected]> (migration to v14)
5+
6+
* `Trobz <https://trobz.com>`_:
7+
* Dzung Tran <[email protected]>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This module extends the functionality of Purchase Agreements to support a tier validation process.

purchase_requisition_tier_validation/static/description/index.html

+19-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6-
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
6+
<meta name="generator" content="Docutils: http://docutils.sourceforge.net/" />
77
<title>Purchase Requisition Tier Validation</title>
88
<style type="text/css">
99

@@ -367,7 +367,7 @@ <h1 class="title">Purchase Requisition Tier Validation</h1>
367367
!! This file is generated by oca-gen-addon-readme !!
368368
!! changes will be overwritten. !!
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
370-
<p><a class="reference external" 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" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/purchase-workflow/tree/15.0/purchase_requisition_tier_validation"><img alt="OCA/purchase-workflow" src="https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_requisition_tier_validation"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/142/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
370+
<p><a class="reference external" 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" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/purchase-workflow/tree/16.0/purchase_requisition_tier_validation"><img alt="OCA/purchase-workflow" src="https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_requisition_tier_validation"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runboat.odoo-community.org/webui/builds.html?repo=OCA/purchase-workflow&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
371371
<p>This module extends the functionality of Purchase Agreements to support a tier validation process.</p>
372372
<p><strong>Table of contents</strong></p>
373373
<div class="contents local topic" id="contents">
@@ -379,7 +379,8 @@ <h1 class="title">Purchase Requisition Tier Validation</h1>
379379
<li><a class="reference internal" href="#credits" id="id5">Credits</a><ul>
380380
<li><a class="reference internal" href="#authors" id="id6">Authors</a></li>
381381
<li><a class="reference internal" href="#contributors" id="id7">Contributors</a></li>
382-
<li><a class="reference internal" href="#maintainers" id="id8">Maintainers</a></li>
382+
<li><a class="reference internal" href="#other-credits" id="id8">Other credits</a></li>
383+
<li><a class="reference internal" href="#maintainers" id="id9">Maintainers</a></li>
383384
</ul>
384385
</li>
385386
</ul>
@@ -420,7 +421,7 @@ <h1><a class="toc-backref" href="#id4">Bug Tracker</a></h1>
420421
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/purchase-workflow/issues">GitHub Issues</a>.
421422
In case of trouble, please check there if your issue has already been reported.
422423
If you spotted it first, help us smashing it by providing a detailed and welcomed
423-
<a class="reference external" href="https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_requisition_tier_validation%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
424+
<a class="reference external" href="https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_requisition_tier_validation%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
424425
<p>Do not contact contributors directly about support or help with technical issues.</p>
425426
</div>
426427
<div class="section" id="credits">
@@ -439,16 +440,28 @@ <h2><a class="toc-backref" href="#id7">Contributors</a></h2>
439440
<li>Kitti U. &lt;<a class="reference external" href="mailto:kittiu&#64;ecosoft.co.th">kittiu&#64;ecosoft.co.th</a>&gt; (migration to v14)</li>
440441
</ul>
441442
</li>
443+
<li><dl class="first docutils">
444+
<dt><a class="reference external" href="https://trobz.com">Trobz</a>:</dt>
445+
<dd><ul class="first last">
446+
<li>Dzung Tran &lt;<a class="reference external" href="mailto:dungtd&#64;trobz.com">dungtd&#64;trobz.com</a>&gt;</li>
442447
</ul>
448+
</dd>
449+
</dl>
450+
</li>
451+
</ul>
452+
</div>
453+
<div class="section" id="other-credits">
454+
<h2><a class="toc-backref" href="#id8">Other credits</a></h2>
455+
<p>This module extends the functionality of Purchase Agreements to support a tier validation process.</p>
443456
</div>
444457
<div class="section" id="maintainers">
445-
<h2><a class="toc-backref" href="#id8">Maintainers</a></h2>
458+
<h2><a class="toc-backref" href="#id9">Maintainers</a></h2>
446459
<p>This module is maintained by the OCA.</p>
447460
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
448461
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
449462
mission is to support the collaborative development of Odoo features and
450463
promote its widespread use.</p>
451-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/purchase-workflow/tree/15.0/purchase_requisition_tier_validation">OCA/purchase-workflow</a> project on GitHub.</p>
464+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/purchase-workflow/tree/16.0/purchase_requisition_tier_validation">OCA/purchase-workflow</a> project on GitHub.</p>
452465
<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>
453466
</div>
454467
</div>

purchase_requisition_tier_validation/tests/test_purchase_requisition_tier_validation.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55

66

77
class TestPurchaseRequisitionTierValidation(common.TransactionCase):
8-
def setUp(self):
9-
super().setUp()
10-
self.tier_definition = self.env["tier.definition"]
8+
@classmethod
9+
def setUpClass(cls):
10+
super().setUpClass()
11+
cls.tier_definition = cls.env["tier.definition"]
1112

1213
def test_get_tier_validation_model_names(self):
1314
self.assertIn(

0 commit comments

Comments
 (0)