Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031073Retail ModulesDiscounts and Promotionspublic2015-10-06 18:132015-10-27 13:27
malsasua 
Retail 
urgentmajoralways
closedduplicate 
20Community Appliance
pi 
 
marvintm
No
0031073: when several combos are added to the receipt, chrome crash
with the combos module, if you create a receipt with several combos and other lines, and the quantity of items is higher than 20, the chrome crash (see error.png)
. install combo discounts module (org.openbravo.retail.discounts.combo)
. install best deal module (org.openbravo.retail.discounts.bestdeal)
in backoffice:
 . create thtree new discounts type combo:
  discount: combo1
   . Family: F1
             qty 2
             prods:
                    p1
                    p2

  discount: combo2
   . Family: F2
             qty 2
             prods:
                    p3
                    p4

  discount: combo3
   . Family: F3
             qty 2
             prods:
                    p5
                    p6
. enable best deal case (see http://wiki.openbravo.com/wiki/Retail:Promotions_Best_Deal_Case [^])

in webpos
. create a new receipt:
 . add combo1
 . add combo2
 . add combo3
 . add 15 new lines with another products
 . click in total button

error is returned
No tags attached.
duplicate of defect 0027690 closed marvintm Best deal case take too long in some cases 
related to defect 0031585 closed jorge-garcia when more than 10 discount combos are added to the receipt, chrome crash 
png error.png (40,479) 2015-10-06 18:13
https://issues.openbravo.com/file_download.php?file_id=8530&type=bug
png
Issue History
2015-10-06 18:13malsasuaNew Issue
2015-10-06 18:13malsasuaAssigned To => Retail
2015-10-06 18:13malsasuaFile Added: error.png
2015-10-06 18:13malsasuaResolution time => 1444428000
2015-10-06 18:13malsasuaTriggers an Emergency Pack => No
2015-10-06 20:36OrekariaStatusnew => acknowledged
2015-10-22 14:26OrekariaStatusacknowledged => scheduled
2015-10-22 14:27OrekariaNote Added: 0081211
2015-10-22 14:27OrekariaStatusscheduled => feedback
2015-10-22 16:52malsasuaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9836#r9836
2015-10-22 16:52malsasuaStatusfeedback => new
2015-10-22 16:52malsasuaNote Added: 0081230
2015-10-22 16:53OrekariaStatusnew => acknowledged
2015-10-27 13:27marvintmStatusacknowledged => scheduled
2015-10-27 13:27marvintmReview Assigned To => marvintm
2015-10-27 13:27marvintmRelationship addedduplicate of 0027690
2015-10-27 13:27marvintmNote Added: 0081345
2015-10-27 13:27marvintmStatusscheduled => closed
2015-10-27 13:27marvintmResolutionopen => duplicate
2015-11-25 18:31malsasuaRelationship addedrelated to 0031585

Notes
(0081211)
Orekaria   
2015-10-22 14:27   
Please add a diff with the code to reproduce the issue
(0081230)
malsasua   
2015-10-22 16:52   
updated steps to reproduce
(0081345)
marvintm   
2015-10-27 13:27   
The issue is essentially equivalent to the 27690. The fix needs to be applied in the customer production environment.