Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035995Retail ModulesWeb POSpublic2017-05-15 15:242017-06-05 11:07
aaroncalero 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR17Q3 
guilleaer
No
0035995: 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.
depends on backport 0036174RR17Q2.1 closed ranjith_qualiantech_com Refundable payments configuration does not work if the payment is shown on the More Payments popup 
has duplicate defect 0036012 closed ranjith_qualiantech_com Is possible to return with a payment not refundable 
Issue History
2017-05-15 15:24aaroncaleroNew Issue
2017-05-15 15:24aaroncaleroAssigned To => Retail
2017-05-15 15:24aaroncaleroResolution time => 1496008800
2017-05-15 15:24aaroncaleroTriggers an Emergency Pack => No
2017-05-16 15:56ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-05-16 15:56ranjith_qualiantech_comStatusnew => scheduled
2017-05-17 14:10hgbotCheckin
2017-05-17 14:10hgbotNote Added: 0096643
2017-05-17 14:13hgbotCheckin
2017-05-17 14:13hgbotNote Added: 0096644
2017-05-17 14:13hgbotStatusscheduled => resolved
2017-05-17 14:13hgbotResolutionopen => fixed
2017-05-17 14:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/72a7f0b0c6d97043dc4d2a32c5c4a1fab559f856 [^]
2017-05-29 13:10guilleaerReview Assigned To => guilleaer
2017-05-29 13:10guilleaerStatusresolved => closed
2017-05-29 13:10guilleaerFixed in Version => RR17Q3
2017-06-05 11:06marvintmStatusclosed => new
2017-06-05 11:06marvintmResolutionfixed => open
2017-06-05 11:06marvintmFixed in VersionRR17Q3 =>
2017-06-05 11:06marvintmStatusnew => scheduled
2017-06-05 11:06marvintmStatusscheduled => resolved
2017-06-05 11:06marvintmFixed in Version => RR17Q3
2017-06-05 11:06marvintmResolutionopen => fixed
2017-06-05 11:07marvintmStatusresolved => closed
2017-06-19 11:52marvintmRelationship addedhas duplicate 0036012

Notes
(0096643)
hgbot   
2017-05-17 14:10   
Repository: tools/automation/pi-mobile
Changeset: 92ff5b6d595bbab8a7fe99a1a5f122bb5487f34d
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed May 17 17:35:50 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/92ff5b6d595bbab8a7fe99a1a5f122bb5487f34d [^]

Verifies issue 35995 : Added automated test 'I35995_VerifyRefundablePaymentMethod'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I35995_VerifyRefundablePaymentMethod.java
---
(0096644)
hgbot   
2017-05-17 14:13   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 72a7f0b0c6d97043dc4d2a32c5c4a1fab559f856
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed May 17 17:40:02 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/72a7f0b0c6d97043dc4d2a32c5c4a1fab559f856 [^]

Fixed issue 35995 : 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
---