Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0042047 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2019-10-16 18:18 | 2019-11-07 18:54 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR20Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 83314167f747 | ||||
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 | marvintm | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | 12291 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0042047: wrong discount amount using "User Defined Amount" discount | |||||||
Description | using the old discount engine, there are rounding problems applying "User Defined Amount" discount | |||||||
Steps To Reproduce | [BO] . Preferences -> Web POS Use advanced discounts engine -> N . Product -> p1 -> price: 4.90 . Discount and Promotions: -> name: d1 -> type: User Defined amount -> allow multiple instances per line: true (see screenshot) [POS] . add new line: p1-> qty=4 . apply discount d1-> amount 4.90 current status -> total ticket 14.7 -> OK . apply discount d1-> amount 4.90 current status -> total ticket 9.8 -> OK . apply discount d1-> amount 4.90 current status -> total ticket 4.9 -> OK . apply discount d1-> amount 4.90 current status -> total ticket 0.02 -> KO (see screenshot) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
|
![]() |
|
(0115128) malsasua (viewer) 2019-10-16 18:19 |
it is not reproducible using the new discount engine |
(0115394) hgbot (developer) 2019-11-04 21:07 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 83314167f747bc8ad5ea64d1d5ef3bc79aa5752b Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Sat Oct 26 08:02:25 2019 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/83314167f747bc8ad5ea64d1d5ef3bc79aa5752b [^] Fixed issue 42047: wrong discount amount using "User Defined Amount" discount - Changed the rounding method to obtain the correct currentDiscountedLinePrice value --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0115395) hgbot (developer) 2019-11-04 21:08 |
Repository: tools/automation/pi-mobile Changeset: 20f875167e91f904a5733202a4a10b5d89b2e0cc Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Mon Oct 28 17:13:48 2019 -0400 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/20f875167e91f904a5733202a4a10b5d89b2e0cc [^] Related to issue 42047: Changed I32674_VerifyDiscountOnReloadTicket and I32699_VerifyFirmQuotationIssue test case --- M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I32674_VerifyDiscountOnReloadTicket.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I32699_VerifyFirmQuotationIssue.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-10-16 18:18 | malsasua | New Issue | |
2019-10-16 18:18 | malsasua | Assigned To | => Retail |
2019-10-16 18:18 | malsasua | OBNetwork customer | => Gold |
2019-10-16 18:18 | malsasua | Support ticket | => 12291 |
2019-10-16 18:18 | malsasua | Resolution time | => 1573081200 |
2019-10-16 18:18 | malsasua | Triggers an Emergency Pack | => No |
2019-10-16 18:19 | malsasua | Note Added: 0115128 | |
2019-10-16 18:19 | malsasua | File Added: discountConfig.png | |
2019-10-16 18:20 | malsasua | File Added: pos.png | |
2019-10-17 14:47 | rqueralta | Assigned To | Retail => rqueralta |
2019-11-04 21:07 | hgbot | Checkin | |
2019-11-04 21:07 | hgbot | Note Added: 0115394 | |
2019-11-04 21:07 | hgbot | Status | new => resolved |
2019-11-04 21:07 | hgbot | Resolution | open => fixed |
2019-11-04 21:07 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/83314167f747bc8ad5ea64d1d5ef3bc79aa5752b [^] |
2019-11-04 21:08 | hgbot | Checkin | |
2019-11-04 21:08 | hgbot | Note Added: 0115395 | |
2019-11-07 18:54 | marvintm | Review Assigned To | => marvintm |
2019-11-07 18:54 | marvintm | Status | resolved => closed |
2019-11-07 18:54 | marvintm | Fixed in Version | => RR20Q1 |
Copyright © 2000 - 2009 MantisBT Group |