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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022491
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2012-12-10 09:252012-12-10 12:24
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in VersionRMP17
StatusclosedFix in branchFixed in SCM revision6ead8800d5f8
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022491: Rounding issues in packs

DescriptionDepending on how Packs are defined, rounding issues appear when they are applied.
Steps To ReproduceWith Retail Demo data:
* Create a new Pack discount
** Discount Price: 90 EUR
** Products:
*** Alpine poles, 1
*** Alpine ski boot, 1
*** Basecamp lantern, 1
* Log in POS
* Add this pack
* Amount to be paid 90.01 -> ERROR: it should be 90
TagsNo tags attached.
Attached Filesjpg file icon image002.jpg [^] (51,638 bytes) 2012-12-10 09:27

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0054785)
hgbot (developer)
2012-12-10 09:32

Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: 6ead8800d5f802c5d65ab574452c2ad08db9ebb9
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Dec 10 09:30:26 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/6ead8800d5f802c5d65ab574452c2ad08db9ebb9 [^]

fixed bug 22491: Rounding issues in packs
  -Using OB.DEC to proper manage decimal amounts
  -Last line to be discounted is calculated based on pending amount to be discounted
   instead of supposed amount, in this way possible accumulated decimal diffs
   are subsaned in last line.

---
M web/org.openbravo.retail.discounts/js/promotion-pack.js
---
(0054797)
guilleaer (manager)
2012-12-10 12:24

Tested and verified.

To be included in EMP17.1 emergency pack

- Issue History
Date Modified Username Field Change
2012-12-10 09:25 alostale New Issue
2012-12-10 09:25 alostale Assigned To => alostale
2012-12-10 09:27 alostale File Added: image002.jpg
2012-12-10 09:32 hgbot Checkin
2012-12-10 09:32 hgbot Note Added: 0054785
2012-12-10 09:32 hgbot Status new => resolved
2012-12-10 09:32 hgbot Resolution open => fixed
2012-12-10 09:32 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/6ead8800d5f802c5d65ab574452c2ad08db9ebb9 [^]
2012-12-10 12:24 guilleaer Note Added: 0054797
2012-12-10 12:24 guilleaer Status resolved => closed
2012-12-10 12:24 guilleaer Fixed in Version => RMP17


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker