Skip to content

Commit

Permalink
[MIG] product_main_supplierinfo: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviedoanhduy committed Dec 13, 2024
1 parent c05efe4 commit 2db85d1
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 6 deletions.
10 changes: 10 additions & 0 deletions product_main_supplierinfo/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@ Contributors

- Sébastien Alix <[email protected]>

- `Trobz <https://www.trobz.com>`__

- Do Anh Duy <[email protected]>

Other credits
-------------

The migration of this module from 17.0 to 18.0 was financially supported
by Camptocamp

Maintainers
-----------

Expand Down
2 changes: 1 addition & 1 deletion product_main_supplierinfo/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
{
"name": "Product Main Vendor",
"version": "17.0.1.0.0",
"version": "18.0.1.0.0",
"summary": "Display the main vendor of a product.",
"website": "https://github.com/OCA/product-attribute",
"author": "Camptocamp, Odoo Community Association (OCA)",
Expand Down
2 changes: 2 additions & 0 deletions product_main_supplierinfo/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
- [Camptocamp](https://www.camptocamp.com)
- Sébastien Alix \<<[email protected]>\>
- [Trobz](https://www.trobz.com)
- Do Anh Duy \<<[email protected]>\>
1 change: 1 addition & 0 deletions product_main_supplierinfo/readme/CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The migration of this module from 17.0 to 18.0 was financially supported by Camptocamp
14 changes: 12 additions & 2 deletions product_main_supplierinfo/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,8 @@ <h1 class="title">Product Main Vendor</h1>
<li><a class="reference internal" href="#credits" id="toc-entry-2">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-3">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-4">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-5">Maintainers</a></li>
<li><a class="reference internal" href="#other-credits" id="toc-entry-5">Other credits</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-6">Maintainers</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -406,10 +407,19 @@ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
<li>Sébastien Alix &lt;<a class="reference external" href="mailto:sebastien.alix&#64;camptocamp.com">sebastien.alix&#64;camptocamp.com</a>&gt;</li>
</ul>
</li>
<li><a class="reference external" href="https://www.trobz.com">Trobz</a><ul>
<li>Do Anh Duy &lt;<a class="reference external" href="mailto:duyda&#64;trobz.com">duyda&#64;trobz.com</a>&gt;</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="other-credits">
<h2><a class="toc-backref" href="#toc-entry-5">Other credits</a></h2>
<p>The migration of this module from 17.0 to 18.0 was financially supported
by Camptocamp</p>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
Expand Down
6 changes: 3 additions & 3 deletions product_main_supplierinfo/tests/test_product_main_supplier.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

from odoo import fields
from odoo.tests.common import TransactionCase

from odoo.addons.base.tests.common import BaseCommon

class TestProductMainSupplierInfo(TransactionCase):

class TestProductMainSupplierInfo(BaseCommon):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))
cls.product = cls.env.ref("product.product_product_6")
cls.seller_1 = cls.env.ref("product.product_supplierinfo_1")
cls.seller_1.sequence = 1
Expand Down

0 comments on commit 2db85d1

Please sign in to comment.