Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051622Retail ModulesProduct on the Flypublic2023-02-15 17:292023-02-20 16:16
alfonso_alcalde 
ranjith_qualiantech_com 
urgentcriticalalways
closedfixed 
522Q4
 
RR23Q2 
No
0051622: Items with qty variable not working - Regression
When selecting products in POS, marked as variable quantity product, it's not possible to indicate the quantity correctly.
1. create a product: 'peso variable' as item, uom: 'kilogram', check: 'isScale', tax category: normal
2. add the item to the assortment (White Valley Group Product List, pricelist (The White Valley Group Sale Price List Version)
3. login into the POS https://livebuilds.openbravo.com/retail_mp_3.0RR22Q4.1/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^]
4. select the item.
5. button qty is enabled but the objective is to be able to add: 2.3 as qty as expected (the item has variable qty)
6. the qty is not modified but a new line with qty 1 is added


Note: We think the regression has been introduced with the development 'print label'
No tags attached.
Issue History
2023-02-15 17:29alfonso_alcaldeNew Issue
2023-02-15 17:29alfonso_alcaldeAssigned To => Retail
2023-02-15 17:29alfonso_alcaldeTriggers an Emergency Pack => No
2023-02-16 07:38ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-02-16 14:56rafademiguelIssue Monitored: rafademiguel
2023-02-17 08:24ranjith_qualiantech_comStatusnew => scheduled
2023-02-17 09:15hgbotNote Added: 0146684
2023-02-20 16:16hgbotResolutionopen => fixed
2023-02-20 16:16hgbotStatusscheduled => closed
2023-02-20 16:16hgbotNote Added: 0146790
2023-02-20 16:16hgbotFixed in Version => RR23Q2
2023-02-20 16:16hgbotNote Added: 0146791

Notes
(0146684)
hgbot   
2023-02-17 09:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1070 [^]
(0146790)
hgbot   
2023-02-20 16:16   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1070 [^]
(0146791)
hgbot   
2023-02-20 16:16   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 55d93a168b3b40a4acd531de62c5a81604032431
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 20-02-2023 14:48:02
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/55d93a168b3b40a4acd531de62c5a81604032431 [^]

Fixed ISSUE-51622: Qty should be updated when changing ticket line qty
* If product is enabled with "Is Scale", then line qty should be updated
  when changing the quantity

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/AddProduct.js
M web/org.openbravo.retail.posterminal/js/actions/changequantity.js
---