From f8c2c8e13542736aba6268560e3fd3adb9799a77 Mon Sep 17 00:00:00 2001 From: Bhavesh Heliconia Date: Tue, 31 Dec 2024 15:42:45 +0530 Subject: [PATCH] [MIG] sale_order_line_product_attribute_values: Migration to 18.0 --- sale_order_line_product_attribute_values/README.rst | 11 ++++++----- .../__manifest__.py | 2 +- .../models/sale_order_line.py | 7 +++---- .../readme/CONTRIBUTORS.md | 1 + .../static/description/index.html | 7 ++++--- .../views/sale_order_line_view.xml | 6 +++--- 6 files changed, 18 insertions(+), 16 deletions(-) diff --git a/sale_order_line_product_attribute_values/README.rst b/sale_order_line_product_attribute_values/README.rst index 96653eaf78c..e432a36410b 100644 --- a/sale_order_line_product_attribute_values/README.rst +++ b/sale_order_line_product_attribute_values/README.rst @@ -17,13 +17,13 @@ Sale Order Line all Product Attribute Values :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github - :target: https://github.com/OCA/sale-workflow/tree/16.0/sale_order_line_product_attribute_values + :target: https://github.com/OCA/sale-workflow/tree/18.0/sale_order_line_product_attribute_values :alt: OCA/sale-workflow .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_order_line_product_attribute_values + :target: https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-sale_order_line_product_attribute_values :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/sale-workflow&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=18.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -95,7 +95,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. @@ -111,6 +111,7 @@ Contributors ------------ - Eduardo de Miguel (`Moduon `__) +- Heliconia Solutions Pvt. Ltd. Maintainers ----------- @@ -136,6 +137,6 @@ Current `maintainers `__: |maintainer-Shide| |maintainer-rafaelbn| -This module is part of the `OCA/sale-workflow `_ project on GitHub. +This module is part of the `OCA/sale-workflow `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_order_line_product_attribute_values/__manifest__.py b/sale_order_line_product_attribute_values/__manifest__.py index 5baad50b467..c9c7750a424 100644 --- a/sale_order_line_product_attribute_values/__manifest__.py +++ b/sale_order_line_product_attribute_values/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Sale Order Line all Product Attribute Values", "summary": "Store Product Attribute Values in Sale Order Lines", - "version": "16.0.1.0.1", + "version": "18.0.1.0.0", "development_status": "Alpha", "category": "Sales/Sales", "website": "https://github.com/OCA/sale-workflow", diff --git a/sale_order_line_product_attribute_values/models/sale_order_line.py b/sale_order_line_product_attribute_values/models/sale_order_line.py index 73e445fe3d1..9ed94f59c3f 100644 --- a/sale_order_line_product_attribute_values/models/sale_order_line.py +++ b/sale_order_line_product_attribute_values/models/sale_order_line.py @@ -12,17 +12,16 @@ class SaleOrderLine(models.Model): comodel_name="product.template.attribute.value", relation="sale_order_line_all_product_template_attribute_value_rel", compute="_compute_all_product_template_attribute_value_ids", - help="All Product Template Attribute Values used directly or indirecly " + help="All Product Template Attribute Values used directly or indirectly " "for this line.", store=True, readonly=True, ) all_product_attribute_value_ids = fields.Many2many( - string="Attribute Values", comodel_name="product.attribute.value", relation="sale_order_line_all_product_attribute_value_rel", compute="_compute_all_product_template_attribute_value_ids", - help="All Product Attribute Values used directly or indirecly " + help="All Product Attribute Values used directly or indirectly " "for this line.\n" "Contains information about increased price, html color, etc.", store=True, @@ -35,7 +34,7 @@ class SaleOrderLine(models.Model): "product_no_variant_attribute_value_ids", ) def _compute_all_product_template_attribute_value_ids(self): - """Compute all Product Template Attribute Values used directly or indirecly""" + """Compute all Product Template Attribute Values used directly or indirectly""" if self.env.context.get("module") == "sale_order_line_product_attribute_values": # Do not trigger computation when module is installed alone # due to the large amount of records to compute diff --git a/sale_order_line_product_attribute_values/readme/CONTRIBUTORS.md b/sale_order_line_product_attribute_values/readme/CONTRIBUTORS.md index 290347f4260..394e7491923 100644 --- a/sale_order_line_product_attribute_values/readme/CONTRIBUTORS.md +++ b/sale_order_line_product_attribute_values/readme/CONTRIBUTORS.md @@ -1 +1,2 @@ - Eduardo de Miguel ([Moduon](https://www.moduon.team/)) +- Heliconia Solutions Pvt. Ltd. \<\> diff --git a/sale_order_line_product_attribute_values/static/description/index.html b/sale_order_line_product_attribute_values/static/description/index.html index 1f13d1e64e9..de2752ac134 100644 --- a/sale_order_line_product_attribute_values/static/description/index.html +++ b/sale_order_line_product_attribute_values/static/description/index.html @@ -369,7 +369,7 @@

Sale Order Line all Product Attribute Values

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:6deb070419b7bd31eead9f5291c629ae09f636c195c4e66378e8fe400e8f58d3 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Alpha License: LGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

+

Alpha License: LGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

This module extends the functionality of Sale Order Lines to support view and filter by Product Attribute Values used.

@@ -441,7 +441,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.

@@ -456,6 +456,7 @@

Authors

Contributors

@@ -469,7 +470,7 @@

Maintainers

promote its widespread use.

Current maintainers:

Shide rafaelbn

-

This module is part of the OCA/sale-workflow project on GitHub.

+

This module is part of the OCA/sale-workflow project on GitHub.

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

diff --git a/sale_order_line_product_attribute_values/views/sale_order_line_view.xml b/sale_order_line_product_attribute_values/views/sale_order_line_view.xml index 761049dd24c..f13b77da8b0 100644 --- a/sale_order_line_product_attribute_values/views/sale_order_line_view.xml +++ b/sale_order_line_product_attribute_values/views/sale_order_line_view.xml @@ -21,7 +21,7 @@ nolabel="1" colspan="2" > - + @@ -29,7 +29,7 @@ - + @@ -41,7 +41,7 @@ sale.order.line - +