diff --git a/product_multi_uom_pos/__manifest__.py b/product_multi_uom_pos/__manifest__.py index 33d5b5bf8..d4f229121 100644 --- a/product_multi_uom_pos/__manifest__.py +++ b/product_multi_uom_pos/__manifest__.py @@ -21,7 +21,7 @@ ############################################################################# { 'name': "POS Product Multiple UOM", - 'version': '17.0.1.0.2', + 'version': '17.0.1.0.3', 'category': 'Point of Sale', 'summary': """A module to manage multiple UoM in POS""", 'description': """Using this app, you can change unit of measure of diff --git a/product_multi_uom_pos/doc/RELEASE_NOTES.md b/product_multi_uom_pos/doc/RELEASE_NOTES.md index 2864beb1a..2a67bfe37 100644 --- a/product_multi_uom_pos/doc/RELEASE_NOTES.md +++ b/product_multi_uom_pos/doc/RELEASE_NOTES.md @@ -25,4 +25,9 @@ ##### UPDT - Bug Fix - 1) Changed the workflow, Unit and price will be automatically calculated on the basis of selected UOM ratio. 2) Resolved issue with the multiple order lines in the POS. - 3) Resolved the issue in the delivery. \ No newline at end of file + 3) Resolved the issue in the delivery. + +#### 16.10.2024 +#### Version 17.0.1.0.3 +##### Update +- Solved the issue occurred during the refund ,made changes in orderline \ No newline at end of file diff --git a/product_multi_uom_pos/static/src/overrides/models/orderline.js b/product_multi_uom_pos/static/src/overrides/models/orderline.js index 461cf87dd..4419cb017 100644 --- a/product_multi_uom_pos/static/src/overrides/models/orderline.js +++ b/product_multi_uom_pos/static/src/overrides/models/orderline.js @@ -45,7 +45,12 @@ patch(Orderline.prototype, { onSelectionChangedUom(ev) { var uom_id = ev.target.value var selected_uom = this.env.services.pos.units_by_id[uom_id] + if(this.props.slots['product-name']){ var selected_product = this.props.slots['product-name'].__ctx.line + } + else{ + var selected_product= this.props.slots['default'].__ctx.line + } selected_product.set_uom({0:selected_uom.id,1:selected_uom.name}) selected_product.price_type = "manual"; if (selected_uom.uom_type == "smaller"){