Skip to content

Commit 4c2f234

Browse files
CarlosRoca13lk-eska
authored andcommitted
[MIG] stock_secondary_unit: Migration to 15.0
1 parent 3167ca8 commit 4c2f234

File tree

5 files changed

+28
-18
lines changed

5 files changed

+28
-18
lines changed

stock_secondary_unit/README.rst

+10-7
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ Stock Secondary Unit
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%2Fstock--logistics--warehouse-lightgray.png?logo=github
17-
:target: https://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_secondary_unit
17+
:target: https://github.com/OCA/stock-logistics-warehouse/tree/15.0/stock_secondary_unit
1818
:alt: OCA/stock-logistics-warehouse
1919
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
20-
:target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_secondary_unit
20+
:target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-15-0/stock-logistics-warehouse-15-0-stock_secondary_unit
2121
:alt: Translate me on Weblate
2222
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
23-
:target: https://runbot.odoo-community.org/runbot/153/14.0
23+
:target: https://runbot.odoo-community.org/runbot/153/15.0
2424
:alt: Try me on Runbot
2525

2626
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -51,7 +51,7 @@ Bug Tracker
5151
Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-warehouse/issues>`_.
5252
In case of trouble, please check there if your issue has already been reported.
5353
If you spotted it first, help us smashing it by providing a detailed and welcomed
54-
`feedback <https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20stock_secondary_unit%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
54+
`feedback <https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20stock_secondary_unit%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5555

5656
Do not contact contributors directly about support or help with technical issues.
5757

@@ -66,8 +66,11 @@ Authors
6666
Contributors
6767
~~~~~~~~~~~~
6868

69-
* Carlos Dauden <carlos.dauden@tecnativa.com>
70-
* Sergio Teruel <sergio.teruel@tecnativa.com>
69+
* `Tecnativa <https://www.tecnativa.com>`_
70+
71+
* Carlos Dauden
72+
* Sergio Teruel
73+
* Carlos Roca
7174
* Kitti Upariphutthiphong <kittiu@ecosoft.co.th>
7275
* Pimolnat Suntian <pimolnats@ecosoft.co.th>
7376
* Alan Ramos <alan.ramos@jarsa.com.mx>
@@ -85,6 +88,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
8588
mission is to support the collaborative development of Odoo features and
8689
promote its widespread use.
8790

88-
This module is part of the `OCA/stock-logistics-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_secondary_unit>`_ project on GitHub.
91+
This module is part of the `OCA/stock-logistics-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/15.0/stock_secondary_unit>`_ project on GitHub.
8992

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

stock_secondary_unit/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "Stock Secondary Unit",
55
"summary": "Get product quantities in a secondary unit",
6-
"version": "14.0.1.0.1",
6+
"version": "15.0.1.0.0",
77
"development_status": "Production/Stable",
88
"category": "stock",
99
"website": "https://github.com/OCA/stock-logistics-warehouse",
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
* Carlos Dauden <carlos.dauden@tecnativa.com>
2-
* Sergio Teruel <sergio.teruel@tecnativa.com>
1+
* `Tecnativa <https://www.tecnativa.com>`_
2+
3+
* Carlos Dauden
4+
* Sergio Teruel
5+
* Carlos Roca
36
* Kitti Upariphutthiphong <kittiu@ecosoft.co.th>
47
* Pimolnat Suntian <pimolnats@ecosoft.co.th>
58
* Alan Ramos <alan.ramos@jarsa.com.mx>

stock_secondary_unit/static/description/index.html

+10-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>Stock Secondary Unit</title>
88
<style type="text/css">
99

@@ -367,7 +367,7 @@ <h1 class="title">Stock Secondary Unit</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="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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/stock-logistics-warehouse/tree/14.0/stock_secondary_unit"><img alt="OCA/stock-logistics-warehouse" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_secondary_unit"><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/153/14.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="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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/stock-logistics-warehouse/tree/15.0/stock_secondary_unit"><img alt="OCA/stock-logistics-warehouse" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/stock-logistics-warehouse-15-0/stock-logistics-warehouse-15-0-stock_secondary_unit"><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/153/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
371371
<p>This module extends the functionality of stock module to allow define
372372
other units with their conversion factor.</p>
373373
<p><strong>Table of contents</strong></p>
@@ -400,7 +400,7 @@ <h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1>
400400
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/issues">GitHub Issues</a>.
401401
In case of trouble, please check there if your issue has already been reported.
402402
If you spotted it first, help us smashing it by providing a detailed and welcomed
403-
<a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20stock_secondary_unit%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
403+
<a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20stock_secondary_unit%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
404404
<p>Do not contact contributors directly about support or help with technical issues.</p>
405405
</div>
406406
<div class="section" id="credits">
@@ -414,8 +414,12 @@ <h2><a class="toc-backref" href="#id4">Authors</a></h2>
414414
<div class="section" id="contributors">
415415
<h2><a class="toc-backref" href="#id5">Contributors</a></h2>
416416
<ul class="simple">
417-
<li>Carlos Dauden &lt;<a class="reference external" href="mailto:carlos.dauden&#64;tecnativa.com">carlos.dauden&#64;tecnativa.com</a>&gt;</li>
418-
<li>Sergio Teruel &lt;<a class="reference external" href="mailto:sergio.teruel&#64;tecnativa.com">sergio.teruel&#64;tecnativa.com</a>&gt;</li>
417+
<li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a><ul>
418+
<li>Carlos Dauden</li>
419+
<li>Sergio Teruel</li>
420+
<li>Carlos Roca</li>
421+
</ul>
422+
</li>
419423
<li>Kitti Upariphutthiphong &lt;<a class="reference external" href="mailto:kittiu&#64;ecosoft.co.th">kittiu&#64;ecosoft.co.th</a>&gt;</li>
420424
<li>Pimolnat Suntian &lt;<a class="reference external" href="mailto:pimolnats&#64;ecosoft.co.th">pimolnats&#64;ecosoft.co.th</a>&gt;</li>
421425
<li>Alan Ramos &lt;<a class="reference external" href="mailto:alan.ramos&#64;jarsa.com.mx">alan.ramos&#64;jarsa.com.mx</a>&gt;</li>
@@ -428,7 +432,7 @@ <h2><a class="toc-backref" href="#id6">Maintainers</a></h2>
428432
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
429433
mission is to support the collaborative development of Odoo features and
430434
promote its widespread use.</p>
431-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_secondary_unit">OCA/stock-logistics-warehouse</a> project on GitHub.</p>
435+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/tree/15.0/stock_secondary_unit">OCA/stock-logistics-warehouse</a> project on GitHub.</p>
432436
<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>
433437
</div>
434438
</div>

stock_secondary_unit/tests/test_stock_secondary_unit.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Copyright 2018 Tecnativa - Sergio Teruel
22
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3-
from odoo.tests import Form, SavepointCase, tagged
3+
from odoo.tests import Form, TransactionCase, tagged
44

55

66
@tagged("-at_install", "post_install")
7-
class TestProductSecondaryUnit(SavepointCase):
7+
class TestProductSecondaryUnit(TransactionCase):
88
@classmethod
99
def setUpClass(cls):
1010
super().setUpClass()

0 commit comments

Comments
 (0)