Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036174Retail ModulesWeb POSpublic2017-05-15 15:242017-07-03 16:59
aaroncalero 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR17Q2.1RR17Q2.1 
marvintm
No
0036174: Refundable payments configuration does not work if the payment is shown on the More Payments popup
The 'Refundable' payment configuration allows to configure a payment method to make it possible to add negative payments with that Payment Method (i.e. on Returns).
If this payment method is shown on the More Payments popup, the refundable payment restriction is not applied and it is possible to return money using that payment method
Using standard retail sampledata (livebuilds).
Login in backend.
Go to the Financial Account window and configure two dummy accounts:
1. Name: t1; Organization: Vall Blanca Store.
2. Name: t2; Organization: Vall Blanca Store.
Add the Payment Method Cash for both accounts.

Go to the POS Terminal window, find the VBS-1 record and navigate to its POS Terminal Type.
Create 2 dummy Payment Methods. Ensure their Payment method attribute is 'Cash'. Uncheck the 'Count Payment in Cash Up' flag and save the records.
Go back to the POS Terminal window and create 2 new Payment Types using the dummy Financial Accounts and Payment Methods. Make sure that the Line No. is defined for both.
Find the Voucher payment type, navigate to its Payment Method and uncheck the 'Refundable' flag.

Login in Web POS.
Create a new ticket.
Go to the Menu > Return this receipt.
Add an Avalanche Transceiver
Click on the Total Amount button to pay the ticket
Verify that the dummy payment methods are shown on top of the list.
click on the 'More...' button.
Verify that the Voucher payment method can be selected, and that payments can be created even if the payment method is configured as not refundable.
No tags attached.
blocks defect 0035995 closed ranjith_qualiantech_com Refundable payments configuration does not work if the payment is shown on the More Payments popup 
Issue History
2017-06-05 11:06marvintmTypedefect => backport
2017-06-05 11:06marvintmTarget Version => RR17Q2.1
2017-06-06 08:29hgbotCheckin
2017-06-06 08:29hgbotNote Added: 0097156
2017-06-06 08:29hgbotStatusscheduled => resolved
2017-06-06 08:29hgbotResolutionopen => fixed
2017-06-06 08:29hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/72a7f0b0c6d97043dc4d2a32c5c4a1fab559f856 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q2.1/org.openbravo.retail.posterminal/rev/7335bde395bd835a6f0ad59c9129a291993c27ae [^]
2017-06-06 08:29hgbotCheckin
2017-06-06 08:29hgbotNote Added: 0097157
2017-06-21 18:45marvintmReview Assigned Toguilleaer => marvintm
2017-06-21 18:45marvintmStatusresolved => closed
2017-06-21 18:45marvintmFixed in Version => RR17Q2.1
2017-07-03 16:59hgbotCheckin
2017-07-03 16:59hgbotNote Added: 0097804

Notes
(0097156)
hgbot   
2017-06-06 08:29   
Repository: retail/backports/3.0RR17Q2.1/org.openbravo.retail.posterminal
Changeset: 7335bde395bd835a6f0ad59c9129a291993c27ae
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jun 06 11:58:27 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q2.1/org.openbravo.retail.posterminal/rev/7335bde395bd835a6f0ad59c9129a291993c27ae [^]

Fixed issue 36174 : Non refundable payment methods in More popup should not be displayed if it is return receipt

---
M web/org.openbravo.retail.posterminal/js/components/modalmorepaymentmethods.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboard-toolbars.js
---
(0097157)
hgbot   
2017-06-06 08:29   
Repository: retail/backports/3.0RR17Q2.1/pi-mobile
Changeset: 75fb93f4e90c53aedf95be045c6983f39e26acda
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jun 06 11:58:24 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q2.1/pi-mobile/rev/75fb93f4e90c53aedf95be045c6983f39e26acda [^]

Verifies issue 36174 : Added automated test 'I36174_VerifyRefundablePaymentMethod'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I36174_VerifyRefundablePaymentMethod.java
---
(0097804)
hgbot   
2017-07-03 16:59   
Repository: tools/automation/pi-mobile
Changeset: 75fb93f4e90c53aedf95be045c6983f39e26acda
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jun 06 11:58:24 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/75fb93f4e90c53aedf95be045c6983f39e26acda [^]

Verifies issue 36174 : Added automated test 'I36174_VerifyRefundablePaymentMethod'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I36174_VerifyRefundablePaymentMethod.java
---