Browse Source

Nov 13: [FIX] Bug Fixed 'product_multi_uom_pos'

pull/348/merge
Cybrosys Technologies 6 months ago
parent
commit
5f468ee01e
  1. 2
      product_multi_uom_pos/__manifest__.py
  2. 7
      product_multi_uom_pos/doc/RELEASE_NOTES.md
  3. 5
      product_multi_uom_pos/static/src/overrides/models/orderline.js

2
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

7
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.
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

5
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"){

Loading…
Cancel
Save