Openbravo Issue Tracking System - POS2
View Issue Details
0058138POS2Corepublic2025-03-05 02:292025-03-06 15:45
gaboflash 
gaboflash 
normalminorhave not tried
acknowledgedopen 
5
 
 
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:29gaboflashTriggers an Emergency Pack => No
2025-03-05 02:47hgbotNote Added: 0176453
2025-03-06 15:45jorgewederagoStatusnew => acknowledged

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 [^]