Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050414Retail ModulesWeb POSpublic2022-09-22 10:532022-10-05 10:50
aaroncalero 
igor_trebol 
highmajoralways
closedfixed 
5
 
RR22Q4RR22Q4 
aferraz
No
0050414: 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.
blocks defect 0050310 closed igor_trebol Payment Methods for Refunds: changes in payments/lines not controlled correctly 
Issue History
2022-10-05 10:16igor_trebolTypedefect => backport
2022-10-05 10:16igor_trebolTarget Version => RR22Q4
2022-10-05 10:48hgbotResolutionopen => fixed
2022-10-05 10:48hgbotStatusscheduled => resolved
2022-10-05 10:48hgbotFixed in Version => RR22Q4
2022-10-05 10:48hgbotNote Added: 0141666
2022-10-05 10:50aferrazReview Assigned To => aferraz
2022-10-05 10:50aferrazStatusresolved => closed
2022-10-05 10:50aferrazNote Added: 0141667

Notes
(0141666)
hgbot   
2022-10-05 10:48   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 15280618449d1fbe533d0e1d14134d4917a69956
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 05-10-2022 10:27:31
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/15280618449d1fbe533d0e1d14134d4917a69956 [^]

Fixes ISSUE-50414: 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
---
(0141667)
aferraz   
2022-10-05 10:50   
MR: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/945 [^]