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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040526
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Copy Retail Storemajoralways2019-04-04 15:552019-04-24 14:38
ReporterlmonrealView Statuspublic 
Assigned Torqueralta 
PriorityurgentResolutionfixedFixed in VersionRR19Q3
StatusclosedFix in branchFixed in SCM revision5d01b9928858
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toadrianromero
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040526: Copy Retail Store with different currency is triggering a WEBPOS error because it is not correctly applied in Financial Accounts

DescriptionWhen launching the copy store and selecting another currency different from the store copied, WEBPOS is triggering this error when opening WEBPOS:

"There was an error loading the POS Terminal. Terminal Payment Method currency is different from Terminal Payment Type Financial account currency. Make sure both Financial account currency and Payment Method currency are same"

The reason why is because the financial accounts of the terminals created have the currency of the original store, not the new one. On the other hand, the payment methods of Channel Touchpoint Type have the new currency so this discrepancy is generating the error.
Steps To Reproduce1. Open copy store

2. Input in the fields:
Store to copy: Vallblanca Store (currency is EUR)
Parent Organization: The white valley franchise
Defaults: applicable ones
Search Key: Test
Name: Test
Currency: USD
Country: United States
POS Terminal Search key: T1
BP Category: Customer

Process will be completed successfuly, log out and log in again to see new Organization.

3. Log in WEBPOS in a new created terminal and error message is triggered "There was an error loading the POS Terminal. Terminal Payment Method currency is different from Terminal Payment Type Financial account currency. Make sure both Financial account currency and Payment Method currency are same"

4. Check in Back office:
-Organization window: New organization has currency as USD (Ok)
-Channel Touchpoint Type window: Payment methods copied are in USD (OK)
-Channel Touchpoint window: Payment types linked with above payment method have the financial accounts created in EUR not in USD. As a result WEBPOS is not loading because it says there is a discrepancy
 

Proposed SolutionFinancial accounts of the payment types should be the same as the payment methods. In this case, they should have the currency selected when launching copy store, even if it is different from the store selected to be copied.
TagsNo tags attached.
Attached Filespng file icon CUR_eRROR.png [^] (85,288 bytes) 2019-04-04 15:55


png file icon Currency_CS.png [^] (44,891 bytes) 2019-04-04 15:57


png file icon cr3.png [^] (92,350 bytes) 2019-04-04 15:58


png file icon CR4.png [^] (97,623 bytes) 2019-04-04 15:59

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0111218)
hgbot (developer)
2019-04-22 18:16

Repository: erp/pmods/org.openbravo.retail.copystore
Changeset: 5d01b99288589ef5eeb8908960e40b167cd4417f
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Fri Apr 19 16:53:20 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/5d01b99288589ef5eeb8908960e40b167cd4417f [^]

Fixed issue 40526: Copy Retail Store with different currency is triggering a
WEBPOS error because it is not correctly applied in Financial Accounts

- Changed the original Financial Account currency to the payment method currency
of the Channel Touchpoint payment type

---
M src/org/openbravo/retail/copystore/process/CopyStoreProcess.java
---
(0111280)
adrianromero (manager)
2019-04-24 14:37

Verified.

- Issue History
Date Modified Username Field Change
2019-04-04 15:55 lmonreal New Issue
2019-04-04 15:55 lmonreal Assigned To => Retail
2019-04-04 15:55 lmonreal File Added: CUR_eRROR.png
2019-04-04 15:55 lmonreal Resolution time => 1556143200
2019-04-04 15:55 lmonreal Triggers an Emergency Pack => No
2019-04-04 15:56 lmonreal Steps to Reproduce Updated View Revisions
2019-04-04 15:57 lmonreal Proposed Solution updated
2019-04-04 15:58 lmonreal File Added: Currency_CS.png
2019-04-04 15:58 lmonreal File Added: cr3.png
2019-04-04 15:59 lmonreal File Added: CR4.png
2019-04-08 04:20 rqueralta Assigned To Retail => rqueralta
2019-04-08 04:20 rqueralta Status new => scheduled
2019-04-09 13:40 martinsdan Issue Monitored: martinsdan
2019-04-22 18:16 hgbot Checkin
2019-04-22 18:16 hgbot Note Added: 0111218
2019-04-22 18:16 hgbot Status scheduled => resolved
2019-04-22 18:16 hgbot Resolution open => fixed
2019-04-22 18:16 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/5d01b99288589ef5eeb8908960e40b167cd4417f [^]
2019-04-24 14:37 adrianromero Review Assigned To => adrianromero
2019-04-24 14:37 adrianromero Note Added: 0111280
2019-04-24 14:37 adrianromero Status resolved => closed
2019-04-24 14:38 adrianromero Fixed in Version => RR19Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker