Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046145Retail ModulesWeb POSpublic2021-03-25 00:072021-04-12 07:58
collazoandy4 
rqueralta 
normalmajorhave not tried
closedfixed 
5
 
RR21Q3 
No
0046145: Not reversable payment method is shown as reversable
In the client enviroment exists several payment methods as not reversable and the financial account defined is not used in the payment in created, a bank account that represents the client company is used instead

When a receipt is opened in the Web Pos with a payment method defined as not reversable and the financial account is different from the payment in created, this payment is shown as reversable and a loading icon appears after click in the reverse button.
Log in the backoffice as White Valley Group Admin Role
Go to channel touchpoint and find Voucher Payment method
In channel touchpoint type (VBS POS Terminal Type) set Voucher payment method as reversable = 'N'
Log in VBS-1 Pos terminal as vallblanca
Create a new receipt with Headlamp ultralight and pay it using Voucher (5.00) and the remaining amount with Cash
Synchronize the receipt with the backoffice
Log in the backoffice as White Valley Group Admin Role
Go to channel touchpoint and update Voucher Payment method
  Finnancial Account: Cash - Vallblanca Safe Box 01 - EUR
Open the related finnancial account and add Check in the payment method tab
Go to Web Pos and refresh
Open the previous receipt created and check in Payment that Voucher (Check) payment method can be reversable
Click on reverse button and check a loading icon appears after the error message
This issue happends beacause the kind attribute in the payment is empty and the proper check can be made in Web Pos.

In PaidReceipts.java returns the payment method kind attribute (searchKey) defined in Touchpoint Type
No tags attached.
Issue History
2021-03-25 00:07collazoandy4New Issue
2021-03-25 00:07collazoandy4Assigned To => Retail
2021-03-25 00:07collazoandy4Resolution time => 1617746400
2021-03-25 00:07collazoandy4Triggers an Emergency Pack => No
2021-03-26 23:51rqueraltaAssigned ToRetail => rqueralta
2021-03-26 23:51rqueraltaStatusnew => scheduled
2021-04-12 02:37hgbotNote Added: 0127215
2021-04-12 07:58hgbotResolutionopen => fixed
2021-04-12 07:58hgbotStatusscheduled => closed
2021-04-12 07:58hgbotFixed in Version => RR21Q3
2021-04-12 07:58hgbotNote Added: 0127216
2021-04-12 07:58hgbotNote Added: 0127217

Notes
(0127215)
hgbot   
2021-04-12 02:37   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/373 [^]
(0127216)
hgbot   
2021-04-12 07:58   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 4b4d6b25bbf2ae11d51bd6f29427b0ba3c62b11e
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-04-11T14:38:21-04:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/4b4d6b25bbf2ae11d51bd6f29427b0ba3c62b11e [^]

Fixed BUG-46145: For POS Orders with a payment method defined as non-reversible and the financial account is different from the payment created, we make the relationship to recover the type of payment through the payment method of the financial account. In case we have the repeated payment method we leave the type blank

---
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---
(0127217)
hgbot   
2021-04-12 07:58   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/373 [^]