From fd4a01c7f4f17b64f309cc9e25ab4e04d5690c75 Mon Sep 17 00:00:00 2001 From: mle Date: Thu, 10 Oct 2024 09:51:41 +0200 Subject: [PATCH] [MIG] product_pricelist_supplierinfo: Migration to 18.0 --- product_pricelist_supplierinfo/README.rst | 10 +++++----- product_pricelist_supplierinfo/__manifest__.py | 2 +- .../models/product_template.py | 2 +- .../static/description/index.html | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/product_pricelist_supplierinfo/README.rst b/product_pricelist_supplierinfo/README.rst index 041be8de661..892102ccc0c 100644 --- a/product_pricelist_supplierinfo/README.rst +++ b/product_pricelist_supplierinfo/README.rst @@ -17,13 +17,13 @@ Supplier info prices in sales pricelists :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github - :target: https://github.com/OCA/product-attribute/tree/17.0/product_pricelist_supplierinfo + :target: https://github.com/OCA/product-attribute/tree/18.0/product_pricelist_supplierinfo :alt: OCA/product-attribute .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/product-attribute-17-0/product-attribute-17-0-product_pricelist_supplierinfo + :target: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_pricelist_supplierinfo :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&target_branch=17.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&target_branch=18.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -102,7 +102,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -152,6 +152,6 @@ Current `maintainer `__: |maintainer-luisg123v| -This module is part of the `OCA/product-attribute `_ project on GitHub. +This module is part of the `OCA/product-attribute `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/product_pricelist_supplierinfo/__manifest__.py b/product_pricelist_supplierinfo/__manifest__.py index b036ae070c8..681768e2529 100644 --- a/product_pricelist_supplierinfo/__manifest__.py +++ b/product_pricelist_supplierinfo/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Supplier info prices in sales pricelists", "summary": "Allows to create priceslists based on supplier info", - "version": "17.0.2.0.0", + "version": "18.0.1.0.0", "category": "Sales/Sales", "website": "https://github.com/OCA/product-attribute", "author": "Tecnativa, Odoo Community Association (OCA), Vauxoo", diff --git a/product_pricelist_supplierinfo/models/product_template.py b/product_pricelist_supplierinfo/models/product_template.py index 32c7dd91c10..41f2170fde9 100644 --- a/product_pricelist_supplierinfo/models/product_template.py +++ b/product_pricelist_supplierinfo/models/product_template.py @@ -27,7 +27,7 @@ def _get_supplierinfo_pricelist_price( # The product_variant_id returns empty recordset if template is not # active, so we must ensure variant exists or _select_seller fails. if product: - if type(date) == datetime: + if type(date) is datetime: date = date.date() seller = product.with_context( override_min_qty=rule.no_supplierinfo_min_quantity diff --git a/product_pricelist_supplierinfo/static/description/index.html b/product_pricelist_supplierinfo/static/description/index.html index 15344fe2044..1754eaeab8e 100644 --- a/product_pricelist_supplierinfo/static/description/index.html +++ b/product_pricelist_supplierinfo/static/description/index.html @@ -369,7 +369,7 @@

Supplier info prices in sales pricelists

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:3b1eaa22384d0573346866a317e714b3d95555e79eaf6a24283febb60d1e7e16 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/product-attribute Translate me on Weblate Try me on Runboat

+

Beta License: AGPL-3 OCA/product-attribute Translate me on Weblate Try me on Runboat

This module allows you to create a sales pricelist based on product supplierinfo prices. If you want, you can bypass minimum quantity in pricelist item.

@@ -451,7 +451,7 @@

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

+feedback.

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

@@ -491,7 +491,7 @@

Maintainers

promote its widespread use.

Current maintainer:

luisg123v

-

This module is part of the OCA/product-attribute project on GitHub.

+

This module is part of the OCA/product-attribute project on GitHub.

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