Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0022491 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2012-12-10 09:25 | 2012-12-10 12:24 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | RMP17 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 6ead8800d5f8 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0022491: Rounding issues in packs | |||||||
Description | Depending on how Packs are defined, rounding issues appear when they are applied. | |||||||
Steps To Reproduce | With 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(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 (viewer) 2012-12-10 12:24 |
Tested and verified. To be included in EMP17.1 emergency pack |
![]() |
|||
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 |