Skip to content

Commit ad42999

Browse files
committed
[MIG] product_brand_stock: Migration to 19.0
Remove deprecated 'name' field from stock.move The model now uses 'reference' as _rec_name instead [1]. [1]: odoo/odoo@facf4eba
1 parent d007077 commit ad42999

4 files changed

Lines changed: 9 additions & 10 deletions

File tree

product_brand_stock/README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ Product Brand Stock
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%2Fbrand-lightgray.png?logo=github
24-
:target: https://github.com/OCA/brand/tree/18.0/product_brand_stock
24+
:target: https://github.com/OCA/brand/tree/19.0/product_brand_stock
2525
:alt: OCA/brand
2626
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27-
:target: https://translation.odoo-community.org/projects/brand-18-0/brand-18-0-product_brand_stock
27+
:target: https://translation.odoo-community.org/projects/brand-19-0/brand-19-0-product_brand_stock
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/brand&target_branch=18.0
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/brand&target_branch=19.0
3131
:alt: Try me on Runboat
3232

3333
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -50,7 +50,7 @@ Bug Tracker
5050
Bugs are tracked on `GitHub Issues <https://github.com/OCA/brand/issues>`_.
5151
In case of trouble, please check there if your issue has already been reported.
5252
If you spotted it first, help us to smash it by providing a detailed and welcomed
53-
`feedback <https://github.com/OCA/brand/issues/new?body=module:%20product_brand_stock%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
53+
`feedback <https://github.com/OCA/brand/issues/new?body=module:%20product_brand_stock%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5454

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

@@ -78,6 +78,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
7878
mission is to support the collaborative development of Odoo features and
7979
promote its widespread use.
8080

81-
This module is part of the `OCA/brand <https://github.com/OCA/brand/tree/18.0/product_brand_stock>`_ project on GitHub.
81+
This module is part of the `OCA/brand <https://github.com/OCA/brand/tree/19.0/product_brand_stock>`_ project on GitHub.
8282

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

product_brand_stock/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "Product Brand Stock",
66
"summary": """
77
This module allows to work with product_brand in Stock.""",
8-
"version": "18.0.1.0.0",
8+
"version": "19.0.1.0.0",
99
"license": "AGPL-3",
1010
"author": "Odoo Community Association (OCA)",
1111
"website": "https://github.com/OCA/brand",

product_brand_stock/static/description/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ <h1>Product Brand Stock</h1>
374374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375375
!! source digest: sha256:ae02c98ba72b82fe64aa6723fda283179e911a474d4e603083bc527803ceb485
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/brand/tree/18.0/product_brand_stock"><img alt="OCA/brand" src="https://img.shields.io/badge/github-OCA%2Fbrand-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/brand-18-0/brand-18-0-product_brand_stock"><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/brand&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/brand/tree/19.0/product_brand_stock"><img alt="OCA/brand" src="https://img.shields.io/badge/github-OCA%2Fbrand-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/brand-19-0/brand-19-0-product_brand_stock"><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/brand&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 allows to work with product_brand in Stock reports.</p>
379379
<p><strong>Table of contents</strong></p>
380380
<div class="contents local topic" id="contents">
@@ -399,7 +399,7 @@ <h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
399399
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/brand/issues">GitHub Issues</a>.
400400
In case of trouble, please check there if your issue has already been reported.
401401
If you spotted it first, help us to smash it by providing a detailed and welcomed
402-
<a class="reference external" href="https://github.com/OCA/brand/issues/new?body=module:%20product_brand_stock%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
402+
<a class="reference external" href="https://github.com/OCA/brand/issues/new?body=module:%20product_brand_stock%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
403403
<p>Do not contact contributors directly about support or help with technical issues.</p>
404404
</div>
405405
<div class="section" id="credits">
@@ -423,7 +423,7 @@ <h3><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h3>
423423
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
424424
mission is to support the collaborative development of Odoo features and
425425
promote its widespread use.</p>
426-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/brand/tree/18.0/product_brand_stock">OCA/brand</a> project on GitHub.</p>
426+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/brand/tree/19.0/product_brand_stock">OCA/brand</a> project on GitHub.</p>
427427
<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>
428428
</div>
429429
</div>

product_brand_stock/tests/test_product_brand_purchase.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ def setUpClass(self):
2525
# Create a stock.move record
2626
self.stock_move = self.env["stock.move"].create(
2727
{
28-
"name": "Test Move",
2928
"product_id": self.product.id,
3029
"product_uom_qty": 10,
3130
"product_uom": self.product.uom_id.id,

0 commit comments

Comments
 (0)