Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038872 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Cash Management | major | always | 2018-07-02 17:38 | 2018-08-03 09:07 | |||
Reporter | lmonreal | View Status | public | |||||
Assigned To | javierRodriguez | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | RR18Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 199892488555 | ||||
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 | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0038872: When doing a deposit in another currency, the FA shows the amount converted in the local currency but with ISO code of initial | |||||||
Description | When doing a cash management event in a foreign currency the financial account shows the amount converted in the local currency but with the currency ISO Code of the foreign one. For example, if I add a deposit of 1000 dollars, the financial account of the dollars will show 760.80 USD. This is the conversion in Euros but it shows USD. | |||||||
Steps To Reproduce | 1. Have an organization set up with EUR as local currency but with the option of paying and doing cash management events with USD (financial accounts associated) 2. Do a cash management of a deposit of 1000 USD 3. In back office check the financial account for IN USD 4. Value will be 760.80 USD that is the conversion of 1000 USD into EUR. However, this is not right, it should be 1000 USD or 760.80 EUR defining the conversion for USD. Also the exchange rate subtab of the financial account is empty. | |||||||
Proposed Solution | See ProposedSolution attached image. - Inside transaction tab we need to define: * Currency: USD; Deposit/Withdrawal Amount: 1000 * Foreign Currency: EUR; Foreign Amount: 760.82 - Inside Exchange rate we need to add a line: * Currency: EUR; To Currency: USD; Foreign Amount: 760.82 You can check OrderLoader code to see how we do this. When pay an order with 1000 USD, a transactions is created with the same expected values for this case. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() ![]() | |||||||
![]() |
|
![]() |
|
(0105773) hgbot (developer) 2018-07-17 17:04 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 86e605f560b137423d1ca86da1bbc98f024c189a Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Thu Jul 05 16:36:50 2018 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/86e605f560b137423d1ca86da1bbc98f024c189a [^] Fixed issue 38872: When doing a deposit in another currency, the FA shows the amount converted in the local currency but with ISO code of initial - In cash management event with a foreign currency was created a new line into Exchange rates tab and was filled foreing currency and foreing amount in trasaction tab of financial account window. --- M src/org/openbravo/retail/posterminal/ProcessCashMgmt.java --- |
(0105800) lmonreal (viewer) 2018-07-19 13:28 |
Tested it and still it is not showing, I have reopen it. |
(0106016) hgbot (developer) 2018-07-30 13:29 |
Repository: tools/automation/pi-mobile Changeset: 07d3d1308c5f1c5da0c5e39d30471304af91488b Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com> Date: Mon Jul 30 12:51:08 2018 +0200 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/07d3d1308c5f1c5da0c5e39d30471304af91488b [^] Related to issue 38872: When doing a deposit in another currency, the FA shows the amount converted in the local currency but with ISO code of initial --- M src-test/org/openbravo/test/mobile/retail/pack/selenium/terminals/WebPOSTerminalHelper.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashmanagement/CashManagementUSDDeposit.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/ChangeBPOffline.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/CreateLayawayOffline.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/I34503_JSErrorShownInCashManagementDetails.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineAllowedFlows.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineAllowedFlowsWait.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashmanagement.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashmanagementWait.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashmanagementWaitNoForce.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineAllowedFlows.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineAllowedFlowsWait.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineCashmanagement.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineCashmanagementWait.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/WebPOSOfflineCustomTerminalHelper.java --- |
(0106017) hgbot (developer) 2018-07-30 13:30 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 19989248855512910d18c97e0b83c75f130e76ae Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com> Date: Mon Jul 30 12:56:34 2018 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/19989248855512910d18c97e0b83c75f130e76ae [^] Fixed issue 38872: When doing a deposit in another currency, the FA shows --- M src/org/openbravo/retail/posterminal/ProcessCashMgmt.java --- |
(0106056) hgbot (developer) 2018-07-31 15:06 |
Repository: tools/automation/pi-mobile Changeset: c1af4e7e6a77604c45957910317b9a16c273f526 Author: Alejandro <alekosmp86 <at> gmail.com> Date: Wed Jul 11 14:56:13 2018 -0400 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c1af4e7e6a77604c45957910317b9a16c273f526 [^] Related to issue 38872: Added automated test --- A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashmanagement/I38872_VerifyCurrencyConversionAfterCashManagement.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2018-07-02 17:38 | lmonreal | New Issue | |
2018-07-02 17:38 | lmonreal | Assigned To | => Retail |
2018-07-02 17:38 | lmonreal | File Added: FAUSD.png | |
2018-07-02 17:38 | lmonreal | OBNetwork customer | => Yes |
2018-07-02 17:38 | lmonreal | Resolution time | => 1532296800 |
2018-07-02 17:38 | lmonreal | Triggers an Emergency Pack | => No |
2018-07-02 17:39 | lmonreal | File Added: USDPOS.png | |
2018-07-03 10:20 | lmonreal | Priority | high => immediate |
2018-07-03 10:34 | migueldejuana | File Added: ProposedSolution.png | |
2018-07-03 10:41 | migueldejuana | Proposed Solution updated | |
2018-07-03 21:21 | rqueralta | Assigned To | Retail => rqueralta |
2018-07-03 21:22 | rqueralta | Status | new => scheduled |
2018-07-17 17:04 | hgbot | Checkin | |
2018-07-17 17:04 | hgbot | Note Added: 0105773 | |
2018-07-17 17:04 | hgbot | Status | scheduled => resolved |
2018-07-17 17:04 | hgbot | Resolution | open => fixed |
2018-07-17 17:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/86e605f560b137423d1ca86da1bbc98f024c189a [^] |
2018-07-19 13:26 | lmonreal | Status | resolved => new |
2018-07-19 13:28 | lmonreal | Note Added: 0105800 | |
2018-07-23 17:56 | javierRodriguez | Assigned To | rqueralta => javierRodriguez |
2018-07-30 13:29 | hgbot | Checkin | |
2018-07-30 13:29 | hgbot | Note Added: 0106016 | |
2018-07-30 13:30 | hgbot | Checkin | |
2018-07-30 13:30 | hgbot | Note Added: 0106017 | |
2018-07-30 13:30 | hgbot | Status | new => resolved |
2018-07-30 13:30 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/86e605f560b137423d1ca86da1bbc98f024c189a [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/19989248855512910d18c97e0b83c75f130e76ae [^] |
2018-07-31 15:06 | hgbot | Checkin | |
2018-07-31 15:06 | hgbot | Note Added: 0106056 | |
2018-08-03 09:07 | marvintm | Review Assigned To | => marvintm |
2018-08-03 09:07 | marvintm | Status | resolved => closed |
2018-08-03 09:07 | marvintm | Fixed in Version | => RR18Q4 |
Copyright © 2000 - 2009 MantisBT Group |