Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031675Retail ModulesWeb POSpublic2015-12-09 17:252016-09-01 21:54
guilleaer 
ranjith_qualiantech_com 
normalminorhave not tried
closedfixed 
5
 
RR16Q4 
guilleaer
No
0031675: Default Payment method is not correctly selected under certain configuration
Preconditions:
- Field "Payment method" of the terminal type related to the terminal should be empty
- The terminal should have 2 payment types marked as cash in payment method field
- None of them will have "OBPOS_payment.card" as a search key

Having this situation, when terminal is loaded the payment type with lower lineNO should be selected as default payment method, but the one with higher lineNo is being selected.
In ERP
- Open VBS-1 and navigate to the terminal type
- Ensure that payment method is empty
- Create a financial account for the new cash payment method
Header -> name and type: cash
Subtab Payment method -> cash
- Change the search key of the Cash payment type. It should be different to OBPOS_payment.cash
- Add a new payment type for cash using the fin account created above. Check that lineNo is higher than the Cash payment type

POS
Having above configuration check that default payment type when web POS is opened is the new one. However the first one should be selected because lineNO is lower
No tags attached.
related to defect 0031677 closed ranjith_qualiantech_com After pay using a certain payment type, default payment type is not re-selected in the UI 
related to defect 0031678 closed ranjith_qualiantech_com After pay using a certain payment type, default command changes to scan but default payment type should be selected 
depends on defect 0031679 closed shivum039 Web POS Crashes when the default payment type is hidden by More button 
Issue History
2015-12-09 17:25guilleaerNew Issue
2015-12-09 17:25guilleaerAssigned To => Retail
2015-12-09 17:25guilleaerTriggers an Emergency Pack => No
2015-12-09 18:35guilleaerRelationship addedrelated to 0031677
2015-12-09 18:36guilleaerRelationship addedrelated to 0031678
2015-12-09 18:36guilleaerRelationship addeddepends on 0031679
2016-08-08 11:20ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-08-08 11:20ranjith_qualiantech_comStatusnew => scheduled
2016-08-16 11:37hgbotCheckin
2016-08-16 11:37hgbotNote Added: 0089131
2016-08-16 11:37hgbotCheckin
2016-08-16 11:37hgbotNote Added: 0089132
2016-08-16 11:37hgbotStatusscheduled => resolved
2016-08-16 11:37hgbotResolutionopen => fixed
2016-08-16 11:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fba72dcf96604d9d3a83b0e04c152a811060bc72 [^]
2016-09-01 21:54guilleaerReview Assigned To => guilleaer
2016-09-01 21:54guilleaerStatusresolved => closed
2016-09-01 21:54guilleaerFixed in Version => RR16Q4

Notes
(0089131)
hgbot   
2016-08-16 11:37   
Repository: tools/automation/pi-mobile
Changeset: 645dafe0fc17e691da06781a63e2c109f413fa2f
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Aug 16 15:07:04 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/645dafe0fc17e691da06781a63e2c109f413fa2f [^]

Verifies issue 31675 : Added automated test 'I31675_VerifyDefaultCashPaymentMethod'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31675_VerifyDefaultCashPaymentMethod.java
---
(0089132)
hgbot   
2016-08-16 11:37   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: fba72dcf96604d9d3a83b0e04c152a811060bc72
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Aug 16 15:06:55 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fba72dcf96604d9d3a83b0e04c152a811060bc72 [^]

Fixes issue 31675 : Set first cash payment method from the payment method list as default cash payment

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---