Openbravo Issue Tracking System - POS2
View Issue Details
0058138POS2Corepublic2025-03-05 02:292025-03-27 12:20
gaboflash 
gaboflash 
normalminorhave not tried
closedduplicate 
5
 
 
approved
No
No
0058138: Refund approval validation triggered incorrectly when approval is disabled
The system incorrectly enforces the rule "Maximum Refund Limit must be greater than Initial Refund Amount", even when approval is disabled.

Expected Behavior:
When Set Up Approval on Payment Returns is disabled, the validation should not be triggered, and the configuration should be saved without errors.

Proposed Fix:
Modify the validation logic so that it applies only if approval is enabled.
1- Navigate to Channel - Touchpoint Type > Payment Method Tab.
2- Enable Set Up Approval on Payment Returns Using this Payment Method.
3- Set Initial Refund Amount to Request Approval to 100.
4- Save the changes.
5- Disable Set Up Approval on Payment Returns Using this Payment Method.
6- Set Maximum Refund Limit to 100 or less.
7- Attempt to save.
No tags attached.
Issue History
2025-03-05 02:29gaboflashNew Issue
2025-03-05 02:29gaboflashAssigned To => gaboflash
2025-03-05 02:29gaboflashOBNetwork customer => No
2025-03-05 02:29gaboflashTriggers an Emergency Pack => No
2025-03-05 02:47hgbotMerge Request Status => open
2025-03-05 02:47hgbotNote Added: 0176453
2025-03-06 15:45jorgewederagoStatusnew => acknowledged
2025-03-10 10:33hgbotMerge Request Statusopen => approved
2025-03-10 10:33hgbotNote Added: 0176578
2025-03-27 12:20hgbotNote Added: 0177611
2025-03-27 12:20hgbotStatusacknowledged => closed
2025-03-27 12:20hgbotResolutionopen => duplicate

Notes
(0176453)
hgbot   
2025-03-05 02:47   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3578 [^]
(0176578)
hgbot   
2025-03-10 10:33   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3578 [^]
(0177611)
hgbot   
2025-03-27 12:20   
Issue exported to Jira: https://openbravo.atlassian.net/browse/RM-24348 [^]