Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039641Retail ModulesWeb POSpublic2018-11-16 09:282018-11-30 10:01
lmonreal 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q1 
guilleaer
No
0039641: Reverse Payment approval is not working if Available delay is null
If I set a reverse payment approval it is not working as expected in webpos.
Apparently, Available delay field in POS Terminal Type has to be filled and if this field is left empty, approval does not show.
Configuration:

A)Approval: Web POS Reverse Payment Approval
Visible at User: Openbravo
Value: Y

B) Approval: Web POS Reverse Payment Approval
Visible at User: Posets Store User
Value: N

POS Terminal Type:
Payment methods selected as Reversable
Available delay field: empty

Steps:
1. Login with Posets store user
2. Do a sale transaction
3. Click on open receipt and load receipt created
4. Click on arrow to reverse payment
5. Pop up to confirm if user want to reverse payment is displayed and user can continue with transaction.

Approval is not shown even if it has been configured
If available delay field is not configured and is left empty, approval should be displayed. User should not be able to reverse payment without approval
No tags attached.
Issue History
2018-11-16 09:28lmonrealNew Issue
2018-11-16 09:28lmonrealAssigned To => Retail
2018-11-16 09:28lmonrealResolution time => 1542927600
2018-11-16 09:28lmonrealTriggers an Emergency Pack => No
2018-11-16 09:31lmonrealSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=17925#r17925
2018-11-16 09:31lmonrealProposed Solution updated
2018-11-16 13:07ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-11-16 13:07ranjith_qualiantech_comStatusnew => scheduled
2018-11-22 08:26hgbotCheckin
2018-11-22 08:26hgbotNote Added: 0108045
2018-11-22 08:26hgbotStatusscheduled => resolved
2018-11-22 08:26hgbotResolutionopen => fixed
2018-11-22 08:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/be59c0d0715fade2b13efb9689c772ad7723e405 [^]
2018-11-22 08:26hgbotCheckin
2018-11-22 08:26hgbotNote Added: 0108046
2018-11-27 11:01jorge-garciaReview Assigned To => marvintm
2018-11-30 10:01guilleaerReview Assigned Tomarvintm => guilleaer
2018-11-30 10:01guilleaerStatusresolved => closed
2018-11-30 10:01guilleaerFixed in Version => RR19Q1

Notes
(0108045)
hgbot   
2018-11-22 08:26   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: be59c0d0715fade2b13efb9689c772ad7723e405
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Nov 22 12:56:16 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/be59c0d0715fade2b13efb9689c772ad7723e405 [^]

Fixed issue 39641 : Approval should be asked for doing Reverse Payment if available reverse delay is empty

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0108046)
hgbot   
2018-11-22 08:26   
Repository: tools/automation/pi-mobile
Changeset: c6a9b9aca67504c982a1734f5a180455865e0d3e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Nov 22 12:56:34 2018 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c6a9b9aca67504c982a1734f5a180455865e0d3e [^]

Verifies issue 39641 : Added Automated Test 'I39641_VerifyReversePaymentApprovalWithoutDelay'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/reversepayments/I39641_VerifyReversePaymentApprovalWithoutDelay.java
---