diff --git a/product_multi_uom/__manifest__.py b/product_multi_uom/__manifest__.py index 2de05255f..ef2f778d2 100644 --- a/product_multi_uom/__manifest__.py +++ b/product_multi_uom/__manifest__.py @@ -21,7 +21,7 @@ ############################################################################# { 'name': "Product Multi UoM", - 'version': '18.0.1.0.0', + 'version': '18.0.1.0.1', 'category': 'Sales', 'summary': 'This module help to sell a product with multiple Uom category', 'description': "This versatile module empowers your sales strategy by " diff --git a/product_multi_uom/doc/RELEASE_NOTES.md b/product_multi_uom/doc/RELEASE_NOTES.md index 03f9fcb09..c29d20521 100644 --- a/product_multi_uom/doc/RELEASE_NOTES.md +++ b/product_multi_uom/doc/RELEASE_NOTES.md @@ -4,3 +4,9 @@ #### Version 18.0.1.0.0 ##### ADD - Initial Commit for Product Multi UoM + +#### 12.06.2025 +#### Version 18.0.1.0.1 +##### Update +- Updated the field position in the product_product model and the _onchange_secondary_uom_id function in the +secondary_uom_line model. Also updated the index images. diff --git a/product_multi_uom/models/secondary_uom_line.py b/product_multi_uom/models/secondary_uom_line.py index 80ac5d7d7..f0960eaf5 100644 --- a/product_multi_uom/models/secondary_uom_line.py +++ b/product_multi_uom/models/secondary_uom_line.py @@ -54,7 +54,7 @@ class SecondaryUomLine(models.Model): f" {self.secondary_uom_ratio} " f"{self.product_id.uom_id.name}") if self._context.get('params'): - sec_uom_ids = self.env['product.template'].browse( + sec_uom_ids = self.env['product.product'].browse( self._context.get('params').get('id')).secondary_uom_ids.mapped( 'secondary_uom_id.id') if self.secondary_uom_id.id in sec_uom_ids: diff --git a/product_multi_uom/static/description/assets/screenshots/2.png b/product_multi_uom/static/description/assets/screenshots/2.png index db7db3b38..4b04669d9 100644 Binary files a/product_multi_uom/static/description/assets/screenshots/2.png and b/product_multi_uom/static/description/assets/screenshots/2.png differ diff --git a/product_multi_uom/static/description/assets/screenshots/3.png b/product_multi_uom/static/description/assets/screenshots/3.png index 2548f6347..fab7d8b16 100644 Binary files a/product_multi_uom/static/description/assets/screenshots/3.png and b/product_multi_uom/static/description/assets/screenshots/3.png differ diff --git a/product_multi_uom/static/description/assets/screenshots/6.png b/product_multi_uom/static/description/assets/screenshots/6.png index 9c339c40f..9242a97ef 100644 Binary files a/product_multi_uom/static/description/assets/screenshots/6.png and b/product_multi_uom/static/description/assets/screenshots/6.png differ diff --git a/product_multi_uom/views/product_product_views.xml b/product_multi_uom/views/product_product_views.xml index 3f435bb04..fe69c0126 100644 --- a/product_multi_uom/views/product_product_views.xml +++ b/product_multi_uom/views/product_product_views.xml @@ -7,7 +7,7 @@ product.product - +