Openbravo Issue Tracking System - POS2
View Issue Details
0047858POS2POSpublic2021-10-15 09:182021-10-18 10:42
jmelin 
prakashmurugesan88 
highmajoralways
closedfixed 
5
 
 
No
0047858: 2410 - POS Payment - Can't disable a payment method for refund
If we disable the field "Refundable" in "Touchpoint type / Payment method"Then the payment is still available in payment section of the POS when doing a blind return or verified return
Uncheck the properties "Refundable" of a payment method.

Refresh the POS
Create a sales order and pay with this payment method
=> OK
Do a verified return of this order and try to refund with the same
=> KO, the payment should be available (not appear or grey)

On the previous POS, the payment is grey and can't be used
No tags attached.
depends on backport 0047867TAP closed prakashmurugesan88 2410 - POS Payment - Can't disable a payment method for refund 
Issue History
2021-10-15 09:18jmelinNew Issue
2021-10-15 09:18jmelinAssigned To => Retail
2021-10-15 09:18jmelinTriggers an Emergency Pack => No
2021-10-15 11:13prakashmurugesan88Assigned ToRetail => prakashmurugesan88
2021-10-15 11:13prakashmurugesan88Statusnew => scheduled
2021-10-18 07:48hgbotNote Added: 0132373
2021-10-18 09:44guilleaerStatusscheduled => acknowledged
2021-10-18 09:44guilleaerStatusacknowledged => scheduled
2021-10-18 10:42hgbotResolutionopen => fixed
2021-10-18 10:42hgbotStatusscheduled => closed
2021-10-18 10:42hgbotNote Added: 0132402
2021-10-18 10:42hgbotNote Added: 0132403

Notes
(0132373)
hgbot   
2021-10-18 07:48   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/707 [^]
(0132402)
hgbot   
2021-10-18 10:42   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/707 [^]
(0132403)
hgbot   
2021-10-18 10:42   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 9c9b1f4590339a329bbb8c45ea07a98fb4bbd79e
Author: Prakash M <prakash@qualiantech.com>
Date: 2021-10-16T14:25:02+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/9c9b1f4590339a329bbb8c45ea07a98fb4bbd79e [^]

Fixed BUG-47858: Fixes disabling payment button for refund if the payment method is configured Non Refundable

---
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentButton/PaymentButton.jsx
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentButton/__test__/PaymentButton.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentButton/stories/PaymentButton.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentPanel/PaymentPanel.jsx
---