Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047615Retail ModulesCash uppublic2021-09-01 16:572021-09-09 15:19
AugustoMauch 
jarmendariz 
normalminorhave not tried
closedfixed 
5
 
RR21Q4 
No
0047615: Support disabling a Touchpoint Type -> Payment method even if there are active cashups using it
When this issue was fixed [1], disabling a Touchpoint Type -> Payment method resulted in an error when the closing of the cashups that used that payment method and that were open when it was disabled. The approach then was to disallow the disablement of payment methods if there were active cashups using them.

The previous cashup have some inconvenients, i.e. if there are always active cashups using a payment method, it could never be disabled. We want to change the approach so that now the Touchpoint Type -> Payment method can be disabled even if there are active cashups using them. Once a payment method is disabled, the expected behaviour is:
- Cashups that contained payments using that payment methods should be processed properly, they should not end up in errors while importing
- The disabled payment method will remain visible and active in WebPOS until the terminal information is reloaded (i.e. when the users logs out / logs in or refreshes the browser.

IMPORTANT: The last point means that there will be period of time where the payment method is disabled in the backend, but still operative in the frontend. This is the current behaviour when modifying any other terminal property.


[1] https://issues.openbravo.com/view.php?id=39236 [^]
-
No tags attached.
Issue History
2021-09-01 16:57AugustoMauchNew Issue
2021-09-01 16:57AugustoMauchAssigned To => jarmendariz
2021-09-01 16:57AugustoMauchTriggers an Emergency Pack => No
2021-09-02 09:57jarmendarizStatusnew => scheduled
2021-09-02 11:05hgbotNote Added: 0131507
2021-09-09 15:19hgbotResolutionopen => fixed
2021-09-09 15:19hgbotStatusscheduled => closed
2021-09-09 15:19hgbotFixed in Version => RR21Q4
2021-09-09 15:19hgbotNote Added: 0131678
2021-09-09 15:19hgbotNote Added: 0131679

Notes
(0131507)
hgbot   
2021-09-02 11:05   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/562 [^]
(0131678)
hgbot   
2021-09-09 15:19   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: cba6cecd21985424c70d6d435dbfdb4301d200b9
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 2021-09-09T13:19:08+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/cba6cecd21985424c70d6d435dbfdb4301d200b9 [^]

Fixed ISSUE-47615: Support disabling a touchpoint type -> payment method even if used in active cashup

---
M src/org/openbravo/retail/posterminal/event/PaymentMethodTypeEventHandler.java
---
(0131679)
hgbot   
2021-09-09 15:19   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/562 [^]