Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042859Retail ModulesDiscounts and Promotionspublic2020-01-09 17:202020-02-18 07:43
inaki_garcia 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
5
main 
RR19Q4.2RR19Q4.2 
guilleaer
Production - Confirmed Stable
2019-04-24
RR19Q3
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/557f917bedfd2ff7e66f51742062675c996c1121 [^]
No
0042859: [20Q1] POS gets stuck when adding a "Pack" product after using the "Receipt discounts" feature on Galaxy Tab A6
Adding a product or a pack with several discounts causes the POS to get locked up by the "Wait while calculating receipt..." loading popup after using the "Receipt
discounts" feature.

This issue is a regression that has been proven to be reproducible since the 19Q3.2 livebuild. It is not reproducible in the 19Q2.3 livebuild. This has been tested using
the Galaxy Tab A6 tablet.
0. Log in the POS as user 'vallblanca' in the VBS-1 terminal
1. Add a product to the ticket
2. Click on the "Receipt discounts" feature from the dropdown menu, and exit from it by clicking the "Cancel" button that appears in the orange pane to the right
3. Click on the "BROWSE" button to select the Pack category, and try to add the "Camping Pack" item to the ticket
NOTICE that the "Wait while calculating receipt..." loading popup appears and remains there, leaving the POS unusable
Refreshing the page works as a workaround to continue working.
No tags attached.
blocks defect 0042783 closed ranjith_qualiantech_com [20Q1] POS gets stuck when adding a "Pack" product after using the "Receipt discounts" feature on Galaxy Tab A6 
Issue History
2020-01-14 15:21marvintmTypedefect => backport
2020-01-14 15:21marvintmTarget Version => RR19Q4.2
2020-02-05 14:02hgbotCheckin
2020-02-05 14:02hgbotNote Added: 0117472
2020-02-05 14:02hgbotStatusscheduled => resolved
2020-02-05 14:02hgbotResolutionopen => fixed
2020-02-05 14:02hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q4.2/org.openbravo.retail.posterminal/rev/92694d7b021a2c017c7b09048fecd34336b144a1 [^]
2020-02-18 07:43guilleaerReview Assigned To => guilleaer
2020-02-18 07:43guilleaerStatusresolved => closed
2020-02-18 07:43guilleaerFixed in Version => RR19Q4.2

Notes
(0117472)
hgbot   
2020-02-05 14:02   
Repository: retail/backports/3.0RR19Q4.2/org.openbravo.retail.posterminal
Changeset: 92694d7b021a2c017c7b09048fecd34336b144a1
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Feb 05 18:32:21 2020 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q4.2/org.openbravo.retail.posterminal/rev/92694d7b021a2c017c7b09048fecd34336b144a1 [^]

Fixed issue 42859 : Receipt should not be calculated when adding pack products

* When adding pack products, calculateReceipt should be called only once

---
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---