Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044821Retail ModulesDiscount Matrix Managementpublic2020-08-14 10:192024-05-28 08:02
cdehen 
Retail 
normalmajoralways
newopen 
30Openbravo Appliance 14.04
RR20Q1.2 
 
No
0044821: Crash WebPOS (freeze) with I.N.F.I.N.I.T.Y error in console JS
When you use the module Discount Matrix Management and you you try to do a ticket with a negative line (for example use a gift card).
The module try to calculate if the line need an approbation on this kind of line
When you click on payment button you have an infinity error (divided by 0).
Create a ticket with one or several items.
Uses a gift card who add a line in negative price on the ticket
Add a new item after this gift card
Click on payment button --> Web POS freeze with INFINITY Error
Finally the problem is a divide by zero in JS
You can just ignore line with negative price.
You can apply this provide patch to fix it.
No tags attached.
patch Patch.patch (1,191) 2020-08-14 10:19
https://issues.openbravo.com/file_download.php?file_id=14869&type=bug
Issue History
2020-08-14 10:19cdehenNew Issue
2020-08-14 10:19cdehenAssigned To => Retail
2020-08-14 10:19cdehenFile Added: Patch.patch
2020-08-14 10:19cdehenTriggers an Emergency Pack => No
2024-05-28 08:02guillermogilSeveritycritical => major

There are no notes attached to this issue.