Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051546Retail ModulesWeb POSpublic2023-02-09 10:192023-02-13 08:19
azzeddine_meftoh 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
main 
RR23Q2 
No
0051546: Can't VERIFY RETURN a ticket in POS that contains a payment method not configured in the POS + payment method defined in POS
when refunding a ticket that has been paid with a payment method that is not defined on the pos, we are able to refund with any payment method.
the issue is when the original ticket has a PM defined in the pos + a PM not defined in the POS -> the POS allow to refund only the amount paid by the PM defined in the pos

in the example the original ticket has 2 PM (see attached file) :
- Legacy credit note , 348.93 - not defined on the pos
- Visa, 71.82 - defined on the POS
when doing the verified return we can only refund 71.82
NA
No tags attached.
related to defect 0048604 closed ranjith_qualiantech_com Can't VERIFY RETURN a ticket in POS that contains a payment method not configured in the POS 
png verifiedreturneExample.png (89,911) 2023-02-09 10:19
https://issues.openbravo.com/file_download.php?file_id=18103&type=bug
png
Issue History
2023-02-09 10:19azzeddine_meftohNew Issue
2023-02-09 10:19azzeddine_meftohAssigned To => Retail
2023-02-09 10:19azzeddine_meftohFile Added: verifiedreturneExample.png
2023-02-09 10:19azzeddine_meftohTriggers an Emergency Pack => No
2023-02-09 10:23rafarodaRelationship addedrelated to 0048604
2023-02-09 10:32ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-02-09 13:52ranjith_qualiantech_comNote Added: 0146311
2023-02-09 13:52ranjith_qualiantech_comStatusnew => scheduled
2023-02-10 06:45hgbotNote Added: 0146348
2023-02-13 08:19hgbotResolutionopen => fixed
2023-02-13 08:19hgbotStatusscheduled => closed
2023-02-13 08:19hgbotFixed in Version => RR23Q2
2023-02-13 08:19hgbotNote Added: 0146418
2023-02-13 08:19hgbotNote Added: 0146419

Notes
(0146311)
ranjith_qualiantech_com   
2023-02-09 13:52   
Steps to reproduce in livebuilds pos2 modules
Backoffice
1) Organization window. Record: Vall Blanca Store
   Update "Allow Mixing Verified Returns With" = "Nothing"
2) Channel - Touchpoint type window. Record: POS2SD VBS POS2 Terminal Type
   Tab: Payment method
   Record: Cash
     Update "Allowed PMs for Refund" = "Only those defined"
     Uncheck "Allow to Exceed Paid Amount in Allowed PMs"
     Add "Cash" Payment method in "PM for Refund" tab
   Record : Voucher
     Uncheck "Allow to Exceed Paid Amount in Allowed PMs"

POS
1) Add Product "Avalanche transceiver". Qty 4
2) Complete the ticket with payments. (Card=100, Voucher=200, Cash=302)

Backoffice
1) Create preference
   Property: "Web POS payment Card". Check: "Selected". Value: "N"

POS
1) Refresh Masterdata
2) Open last complete ticket
3) Do Verified Return
4) Go to Payment section
Expected Refunds Limits <--- OK
Cash : 602
Voucher : 300
USA Cash : 602

Shown Refunds Limits <--- KO
Cash : 502
Voucher : 200
USA Cash : 602
(0146348)
hgbot   
2023-02-10 06:45   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1060 [^]
(0146418)
hgbot   
2023-02-13 08:19   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: f6c23b59a489bce4967a6ce152a3d7d3a5d1d3a5
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 13-02-2023 07:18:54
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/f6c23b59a489bce4967a6ce152a3d7d3a5d1d3a5 [^]

Fixed ISSUE-51546: RefundLimit should be updated with unavailable payment methods
* When doing verified return, if original ticket payment is not present in POS,
  then missing payment's amount should be added to all available payments

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js
---
(0146419)
hgbot   
2023-02-13 08:19   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1060 [^]