Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034387
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Layaway orderminoralways2016-11-04 09:542016-11-04 10:11
ReporterlorenzofidalgoView Statuspublic 
Assigned ToRetail 
PriorityimmediateResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned Tomarvintm
Regression levelPackaging and release
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034387: [RR16Q4] Close a Layaway with discounts in POS throws an error: "Cannot calculate receipt taxes"

DescriptionWhen 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 Reproduce0-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".
TagsNo tags attached.
Attached Filespng file icon CannotCalculateReceiptTaxes.png [^] (121,272 bytes) 2016-11-04 09:54


png file icon LayawayWithDiscount.png [^] (243,733 bytes) 2016-11-04 09:54

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0034299 closedmario_castello [SER-QA 1942] Error while deleting a receipt that has line with discounts applied. 

-  Notes
There are no notes attached to this issue.

- 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 View Revisions
2016-11-04 10:02 lorenzofidalgo Description Updated View Revisions
2016-11-04 10:04 lorenzofidalgo Description Updated View Revisions
2016-11-04 10:06 lorenzofidalgo Description Updated View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker