Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0034387 | Retail Modules | Layaway order | public | 2016-11-04 09:54 | 2016-11-04 10:11 | |||||||
Reporter | lorenzofidalgo | |||||||||||
Assigned To | Retail | |||||||||||
Priority | immediate | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | duplicate | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | main | |||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | Packaging and release | |||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0034387: [RR16Q4] Close a Layaway with discounts in POS throws an error: "Cannot calculate receipt taxes" | |||||||||||
Description | When POS user clicks "X" button to close a Layaway which has discounts throws an error: Cannot calculate receipt taxes dodivide(): Divide by 0 (check attached screenshot). This has been reproduced in a RR16Q4 release. Store Server architecture with HighVol environment and "Gift Cards and Vouchers" module. It has not been reproducible in PI livebuilds or RR16Q3.2 livebuilds. ------------- In the Chome console the following error is shown: 8b43ee6…_WebPOS.js:153 Cannot calculate receipt taxes:dodivide(): Divide by 0; line: http://localhost/openbravo/web/js/gen/8b43ee642b6fb764c5b25aa49a0b4fcb_WebPOS.js:1600:514 [^] (*,+) processConsoleLevel @ 8b43ee6…_WebPOS.js:153 OB.error @ 8b43ee6…_WebPOS.js:154 (anonymous function) @ 8b43ee6…_WebPOS.js:1600 | |||||||||||
Steps To Reproduce | 0-Login POS as vallblanca. 1-In dropdown menu, click "Layaway this receipt". 2-Add 1x "Adhesive body warmers". 3-In dropdown menu, click "Receipt discounts" and select and apply "disc_5_var_perc - 5%" discount to that receipt. 4-Click Total Amount button and click Layaway button. 5-In dropdown menu, go to Layaways and select the just created Layaway. 6-Now, click in the "X" green button to close the Layaway. DEFECT: It will throw an error: "Cannot calculate receipt taxes". | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | CannotCalculateReceiptTaxes.png (121,272) 2016-11-04 09:54 https://issues.openbravo.com/file_download.php?file_id=10011&type=bug LayawayWithDiscount.png (243,733) 2016-11-04 09:54 https://issues.openbravo.com/file_download.php?file_id=10012&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2016-11-04 09:54 | lorenzofidalgo | New Issue | ||||||||||
2016-11-04 09:54 | lorenzofidalgo | Assigned To | => Retail | |||||||||
2016-11-04 09:54 | lorenzofidalgo | File Added: CannotCalculateReceiptTaxes.png | ||||||||||
2016-11-04 09:54 | lorenzofidalgo | Regression level | => Packaging and release | |||||||||
2016-11-04 09:54 | lorenzofidalgo | Triggers an Emergency Pack | => No | |||||||||
2016-11-04 09:54 | lorenzofidalgo | File Added: LayawayWithDiscount.png | ||||||||||
2016-11-04 09:55 | lorenzofidalgo | Description Updated | bug_revision_view_page.php?rev_id=13547#r13547 | |||||||||
2016-11-04 10:02 | lorenzofidalgo | Description Updated | bug_revision_view_page.php?rev_id=13548#r13548 | |||||||||
2016-11-04 10:04 | lorenzofidalgo | Description Updated | bug_revision_view_page.php?rev_id=13549#r13549 | |||||||||
2016-11-04 10:06 | lorenzofidalgo | Description Updated | bug_revision_view_page.php?rev_id=13550#r13550 | |||||||||
2016-11-04 10:11 | marvintm | Review Assigned To | => marvintm | |||||||||
2016-11-04 10:11 | marvintm | Relationship added | duplicate of 0034299 | |||||||||
2016-11-04 10:11 | marvintm | Status | new => closed | |||||||||
2016-11-04 10:11 | marvintm | Resolution | open => duplicate |
There are no notes attached to this issue. |