Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050310Retail ModulesWeb POSpublic2022-09-22 10:532022-10-05 10:48
aaroncalero 
igor_trebol 
highmajoralways
closedfixed 
5
 
RR23Q1 
No
0050310: Payment Methods for Refunds: changes in payments/lines not controlled correctly
There are some situations where the PM for refunds validation is triggered incorrectly, or it is not triggered when it should.
Both situations involve playing around with verified returns and blind returns lines and adding/removing payments.
Preparation:
Log in backoffice, go to the Channel - Touchpoint Type window and configure the Payment Method for Refunds functionality:
* Add Cash as the PM for Refund for Cash

Log in Webpos and create a ticket with a single product and paid totally in Cash.

Case 1) Validation applied incorrectly:
* Go to menu > Verified returns and return the ticket created previously.
* Remove the VR line
* Add a negative line (blind return) of the same product used previously
* Try to complete the payment with Card
=> Validation is still applied and Card payment is refused, despite being a blind return ticket

Case 2) Validation skipped
* Create an empty ticket and add a negative line (blind return) of the same product used previously
* Add a negative payment in Card but do not complete the ticket
* Remove the blind return line
* Go to menu > Verified returns and return the ticket created previously.
=> Verify that the payment added in Card is still present (which should not be possible because only Cash is allowed) and that it is possible to complete the return process by clicking on Done.
No tags attached.
depends on backport 0050414RR22Q4 closed igor_trebol Payment Methods for Refunds: changes in payments/lines not controlled correctly 
Issue History
2022-09-22 10:53aaroncaleroNew Issue
2022-09-22 10:53aaroncaleroAssigned To => Retail
2022-09-22 10:53aaroncaleroTriggers an Emergency Pack => No
2022-09-22 12:19aaroncaleroAssigned ToRetail => alainperez
2022-09-23 15:29hgbotNote Added: 0141327
2022-09-26 18:24aferrazAssigned Toalainperez => igor_trebol
2022-10-05 10:16igor_trebolStatusnew => scheduled
2022-10-05 10:44hgbotNote Added: 0141662
2022-10-05 10:48hgbotResolutionopen => fixed
2022-10-05 10:48hgbotStatusscheduled => closed
2022-10-05 10:48hgbotNote Added: 0141663
2022-10-05 10:48hgbotFixed in Version => RR23Q1
2022-10-05 10:48hgbotNote Added: 0141664
2022-10-05 10:48hgbotNote Added: 0141665

Notes
(0141327)
hgbot   
2022-09-23 15:29   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/930 [^]
(0141662)
hgbot   
2022-10-05 10:44   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/945 [^]
(0141663)
hgbot   
2022-10-05 10:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/930 [^]
(0141664)
hgbot   
2022-10-05 10:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 717960afc84f715b31d46c09b3fbab3bfa595795
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 05-10-2022 08:48:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/717960afc84f715b31d46c09b3fbab3bfa595795 [^]

Fixes ISSUE-50310: Verified return original payments now are re-calculated when removing a line

---
M web-test/model/business-object/ticket/actions/DeleteLine.test.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/DeleteLine.js
---
(0141665)
hgbot   
2022-10-05 10:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/945 [^]