Openbravo Issue Tracking System - Retail Modules
View Issue Details
0053873Retail ModulesCopy Retail Storepublic2023-11-06 17:032023-12-05 12:08
martinsdan 
Rajesh_18 
normalmajorhave not tried
closedfixed 
30Ubuntu 18.04.1 LTS
 
 
approved
Gold
No
0053873: Spread Payment Method selects a random Cash Management Event
When creating the new payment method, a random Cash Management Even is selected from those with the same event type and currency.
It should use one for the same payment method.

In case none is found, the name of the new one is also not correct as it adds the Terminal Key to it when it is reused.
Create a new Payment Type in a terminal.
Spread it to another terminal type with existing Cash Management Events.
Add the payment method to the query searching for the event.
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/blob/master/src/org/openbravo/retail/copystore/process/CopyPaymentMethodProcess.java?ref_type=heads#L336 [^]

Change the name of the new event to <PaymentMethod Name> - <EventType Name (translated)> - <Currency ISO> - <Organizations SearchKey>
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/blob/master/src/org/openbravo/retail/copystore/process/CopyPaymentMethodProcess.java?ref_type=heads#L307 [^]
No tags attached.
causes defect 0055627 closed sreehari Spread payment method for selected tills does not work for the same Touchpoint Type 
Issue History
2023-11-06 17:03martinsdanNew Issue
2023-11-06 17:03martinsdanAssigned To => Retail
2023-11-06 17:03martinsdanOBNetwork customer => No
2023-11-06 17:03martinsdanTriggers an Emergency Pack => No
2023-11-13 08:18marvintmOBNetwork customerNo => Gold
2023-11-30 10:08Rajesh_18Assigned ToRetail => Rajesh_18
2023-11-30 10:08Rajesh_18Statusnew => scheduled
2023-12-01 07:56hgbotMerge Request Status => open
2023-12-01 07:56hgbotNote Added: 0157887
2023-12-05 12:08hgbotMerge Request Statusopen => approved
2023-12-05 12:08hgbotResolutionopen => fixed
2023-12-05 12:08hgbotStatusscheduled => closed
2023-12-05 12:08hgbotNote Added: 0157964
2023-12-05 12:08hgbotNote Added: 0157965
2024-06-03 12:02sreehariRelationship addedcauses 0055627

Notes
(0157887)
hgbot   
2023-12-01 07:56   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/56 [^]
(0157964)
hgbot   
2023-12-05 12:08   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore [^]
Changeset: f650481b194e1fa553b18e4661ed05da83b56ede
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 05-12-2023 12:06:46
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/commit/f650481b194e1fa553b18e4661ed05da83b56ede [^]

Fixed ISSUE-53873: Refactored cash management event name and added payment method criteria

* When new cash management event is created the name is created in the format <PaymentMethod Name> - <EventType Name (translated)> - <Currency ISO> - <Organizations SearchKey>
* Added new payment method Criteria while fetching cash management event

---
M src/org/openbravo/retail/copystore/process/CopyPaymentMethodProcess.java
---
(0157965)
hgbot   
2023-12-05 12:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/56 [^]