Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036625 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2017-08-08 11:46 | 2017-09-12 11:35 | |||
Reporter | maite | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR17Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | a4bdb68cf987 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0036625: amountToKeep calculated to more than 2 decimals under some circumstances (due to javascript calculations) | |||||||
Description | depending on the amounts, javascript is calculating "amountToKeep":"586.8199999999999" which is causing CashUp not imported | |||||||
Steps To Reproduce | 1. Access to the terminal and ensure that starting amount is 0.00 (in case it is needed do an initial cash up) 2. Create new ticket adding any product and setting price=389.82. Pay it using CASH 3. Create new ticket adding any product and setting price=25. Set option "layaway this receipt" and LAYAWAY it using CASH 4. Create new ticket adding any product and setting price=17. Set option "layaway this receipt" and LAYAWAY it using CASH 5. Create new ticket adding any product and setting price=25. Set option "layaway this receipt" and LAYAWAY it using CASH 6. Create new ticket adding any product and setting price=50. Set option "layaway this receipt" and LAYAWAY it using CASH 7. Run CashUp process selecting option "Total Amount=389.82" to KEEP for CASH 8. Create new ticket and pay 4 previous layaways using CASH 9. Create new ticket adding any product and setting price=52. Pay it using CASH 10.Create new ticket adding any product and setting price=28. Pay it using CASH 11. Run CashUp process selecting option "Total Amount=586.82" to KEEP for CASH Access to backoffice to "Errors while importing POS data" and realize that this last cashup is there. If you review the JSON you can see that "amountToKeep" has been calculated to "586.8199999999999" | |||||||
Tags | No tags attached. | |||||||
Attached Files | issue 36625 test 6721.patch [^] (8,626 bytes) 2017-08-16 10:22 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0098863) hgbot (developer) 2017-09-06 14:45 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 3d8591f9140f7393dc9daa84fbb34f27e85b06af Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Wed Sep 06 18:15:04 2017 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3d8591f9140f7393dc9daa84fbb34f27e85b06af [^] Fixed issue 36625 : Validating countcash in cashup * Used OB.DEC.add for adding Counted Cash --- M web/org.openbravo.retail.posterminal/js/closecash/view/tabcashpayments.js M web/org.openbravo.retail.posterminal/js/closecash/view/tabcountcash.js --- |
(0098864) hgbot (developer) 2017-09-06 14:45 |
Repository: tools/automation/pi-mobile Changeset: 10f152548e36fff8fb18ca1e0b83cb1b3f121c55 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Wed Sep 06 18:15:16 2017 +0530 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/10f152548e36fff8fb18ca1e0b83cb1b3f121c55 [^] Verifies issue 36625 : Added automated test 'I36625_VerifyCashupAmountToKeep' --- A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I36625_VerifyCashupAmountToKeep.java --- |
(0098877) hgbot (developer) 2017-09-07 07:38 edited on: 2017-09-12 11:34 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: a4bdb68cf987df6e25d47baf1cce7ad0c4102d2d Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Thu Sep 07 11:06:55 2017 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a4bdb68cf987df6e25d47baf1cce7ad0c4102d2d [^] Fixed issue 36800 : Reset keyboard status when discount is applied * In Scan tab, Discount should be deselected like quantity after discount is applied --- M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboardorder.js --- |
(0098980) ranjith_qualiantech_com (developer) 2017-09-12 11:35 |
Changeset: a4bdb68cf987df6e25d47baf1cce7ad0c4102d2d is related to issue https://issues.openbravo.com/view.php?id=36800 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2017-08-08 11:46 | maite | New Issue | |
2017-08-08 11:46 | maite | Assigned To | => Retail |
2017-08-08 11:46 | maite | Resolution time | => 1503957600 |
2017-08-08 11:46 | maite | Triggers an Emergency Pack | => No |
2017-08-08 11:46 | maite | Issue Monitored: networkb | |
2017-08-08 11:52 | Practics | Issue Monitored: Practics | |
2017-08-16 09:37 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2017-08-16 09:37 | ranjith_qualiantech_com | Status | new => scheduled |
2017-08-16 10:22 | ranjith_qualiantech_com | File Added: issue 36625 test 6721.patch | |
2017-09-06 14:45 | hgbot | Checkin | |
2017-09-06 14:45 | hgbot | Note Added: 0098863 | |
2017-09-06 14:45 | hgbot | Status | scheduled => resolved |
2017-09-06 14:45 | hgbot | Resolution | open => fixed |
2017-09-06 14:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3d8591f9140f7393dc9daa84fbb34f27e85b06af [^] |
2017-09-06 14:45 | hgbot | Checkin | |
2017-09-06 14:45 | hgbot | Note Added: 0098864 | |
2017-09-07 07:38 | hgbot | Checkin | |
2017-09-07 07:38 | hgbot | Note Added: 0098877 | |
2017-09-07 07:38 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3d8591f9140f7393dc9daa84fbb34f27e85b06af [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a4bdb68cf987df6e25d47baf1cce7ad0c4102d2d [^] |
2017-09-08 15:11 | marvintm | Review Assigned To | => marvintm |
2017-09-08 15:11 | marvintm | Status | resolved => closed |
2017-09-08 15:11 | marvintm | Fixed in Version | => RR17Q4 |
2017-09-12 11:34 | ranjith_qualiantech_com | Note Edited: 0098877 | View Revisions |
2017-09-12 11:35 | ranjith_qualiantech_com | Note Added: 0098980 |
Copyright © 2000 - 2009 MantisBT Group |