Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042858Retail ModulesDiscounts and Promotionspublic2020-01-09 17:202020-02-21 09:43
inaki_garcia 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
5
main 
RR20Q1RR20Q1 
marvintm
Production - Confirmed Stable
2019-04-24
RR19Q3
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/557f917bedfd2ff7e66f51742062675c996c1121 [^]
No
0042858: [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 => RR20Q1
2020-02-05 14:03hgbotCheckin
2020-02-05 14:03hgbotNote Added: 0117474
2020-02-05 14:03hgbotStatusscheduled => resolved
2020-02-05 14:03hgbotResolutionopen => fixed
2020-02-05 14:03hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR20Q1/org.openbravo.retail.posterminal/rev/67050c37805c70896138ad17dc82dc8ccec5367f [^]
2020-02-21 09:43marvintmReview Assigned To => marvintm
2020-02-21 09:43marvintmStatusresolved => closed
2020-02-21 09:43marvintmFixed in Version => RR20Q1

Notes
(0117474)
hgbot   
2020-02-05 14:03   
Repository: retail/backports/3.0RR20Q1/org.openbravo.retail.posterminal
Changeset: 67050c37805c70896138ad17dc82dc8ccec5367f
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Feb 05 18:32:23 2020 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR20Q1/org.openbravo.retail.posterminal/rev/67050c37805c70896138ad17dc82dc8ccec5367f [^]

Fixed issue 42858 : 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
---