Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034663Retail ModulesWeb POSpublic2016-12-01 11:382016-12-16 09:59
jorge-garcia 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
RR17Q1 
marvintm
No
0034663: If users deactivate a payment in POS Terminal Type window the payment is still loaded in the terminal
If a terminal has a payment active in POS Terminal but that same payment is deactivate in the POS Terminal Type window, the payment is still loaded in the terminal as a valid payment type.
1) Login in the ERP.
2) Go to POS Terminal window. select VBS-1 terminal and in 'Payment Type' tab, check the payment Cash is active.
2) Go to POS Terminal Type and select the 'VBS POS Terminal Type record'. Go to tab 'Payment Method' and deactivate 'Cash' payment.
3) Login in the terminal VBS-1, create a ticket and check the payment Cash is available.
We must check in both places (Payment Type and Payment Method) if the payment is active.
No tags attached.
related to defect 0034430 closed jorge-garcia [SERQA 2039] The initial count window appears with a POS Terminal type without payment method of type 'cash' 
Issue History
2016-12-01 11:38jorge-garciaNew Issue
2016-12-01 11:38jorge-garciaAssigned To => jorge-garcia
2016-12-01 11:38jorge-garciaTriggers an Emergency Pack => No
2016-12-01 11:38jorge-garciaRelationship addedrelated to 0034430
2016-12-01 11:40jorge-garciaStatusnew => scheduled
2016-12-02 08:37hgbotCheckin
2016-12-02 08:37hgbotNote Added: 0092002
2016-12-02 08:38hgbotCheckin
2016-12-02 08:38hgbotNote Added: 0092003
2016-12-02 08:38hgbotStatusscheduled => resolved
2016-12-02 08:38hgbotResolutionopen => fixed
2016-12-02 08:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0a11f64c44f93116393f086582bc4908b34a3f11 [^]
2016-12-16 09:59marvintmReview Assigned To => marvintm
2016-12-16 09:59marvintmStatusresolved => closed
2016-12-16 09:59marvintmFixed in Version => RR17Q1

Notes
(0092002)
hgbot   
2016-12-02 08:37   
Repository: tools/automation/pi-mobile
Changeset: c2ad49807f1ffd54fe8d6c33c96d7bb73b02efbb
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Dec 01 13:53:13 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c2ad49807f1ffd54fe8d6c33c96d7bb73b02efbb [^]

Verifies issue 34663: If users deactivate a payment in POS Terminal Type window
the payment is still loaded in the terminal

Added test I34663_ExcludePaymentsNotActive.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sampledata/I34663_ExcludePaymentsNotActive.java
---
(0092003)
hgbot   
2016-12-02 08:38   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0a11f64c44f93116393f086582bc4908b34a3f11
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Dec 01 11:43:28 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0a11f64c44f93116393f086582bc4908b34a3f11 [^]

Fixed issue 34663: If users deactivate a payment in POS Terminal Type window
the payment is still loaded in the terminal

Now, a payment is loaded in the WebPOS only if it’s active in POS terminal and
POS Terminal Type.

A new callout with a message has been created to inform the user how many
payment types differs from the actual configuration of the payment method in
POS Terminal Type window.

---
M src-db/database/sourcedata/AD_CALLOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src/org/openbravo/retail/posterminal/term/Payments.java
A src/org/openbravo/retail/posterminal/ad_callouts/PaymentMethodsVerification.java
---