Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045221Retail ModulesCash uppublic2020-10-14 10:102020-11-16 06:57
remibrunet 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR21Q1 
No
0045221: [SafeBox] Count safe box with multiple Payment method raise an error
When configuring the safebox to deal with more than one payment method, the counting on WebPos raises an error.

Reproduce on livebuilds.

https://drive.google.com/file/d/1sYrYSY4eqGCkt1TOdHJNQphubh4k4fLE/view?usp=sharing [^]
Configure two payment method on a safe box
Open a WebPos
Link the safebox
Try to use 'Count SafeBox' Process.
No tags attached.
related to defect 0045036 closed ranjith_qualiantech_com Wrong configuration allowed for Safe Boxes 
Issue History
2020-10-14 10:10remibrunetNew Issue
2020-10-14 10:10remibrunetAssigned To => Retail
2020-10-14 10:10remibrunetTriggers an Emergency Pack => No
2020-10-15 17:33javietxeIssue Monitored: javietxe
2020-10-15 17:33javietxeResolution time => 1604530800
2020-10-16 13:28ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-10-20 10:11ranjith_qualiantech_comRelationship addedrelated to 0045036
2020-10-21 04:40ranjith_qualiantech_comStatusnew => scheduled
2020-11-10 03:59hgbotNote Added: 0124248
2020-11-16 06:57hgbotResolutionopen => fixed
2020-11-16 06:57hgbotStatusscheduled => closed
2020-11-16 06:57hgbotNote Added: 0124391
2020-11-16 06:57hgbotFixed in Version => RR21Q1
2020-11-16 06:57hgbotNote Added: 0124392

Notes
(0124248)
hgbot   
2020-11-10 03:59   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/161 [^]
(0124391)
hgbot   
2020-11-16 06:57   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/161 [^]
(0124392)
hgbot   
2020-11-16 06:57   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: e8155932fe72338f2b3c58a9f04f8f2481e2e6eb
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2020-11-16T05:57:33+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/e8155932fe72338f2b3c58a9f04f8f2481e2e6eb [^]

Fixed ISSUE-45221: Added Currency Validation for Same Payment Method in SafeBox
* When same payment method is configured in safebox, it should be differentiated by its currency
* Payment method in safebox should be unique of payment method and currency of financial account

---
A src/org/openbravo/retail/posterminal/event/SafeBoxPaymentMethodEventHandler.java
M src/org/openbravo/retail/posterminal/LoginUtilsServlet.java
M src/org/openbravo/retail/posterminal/ProcessCashClose.java
M src/org/openbravo/retail/posterminal/SafeBoxPaymentMethodsProperties.java
M src/org/openbravo/retail/posterminal/SafeBoxes.java
M web/org.openbravo.retail.posterminal/js/closecash/model/countsafebox/countsafebox-model.js
M web/org.openbravo.retail.posterminal/js/components/modalsafebox.js
---