Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027422
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2014-08-22 14:012014-09-12 03:25
ReporterjonalegriaesarteView Statuspublic 
Assigned Tomtaal 
PriorityimmediateResolutionfixedFixed in VersionRR14Q4
StatusclosedFix in branchpiFixed in SCM revisionc635819ccf0b
ProjectionnoneETAnoneTarget VersionRR14Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toszapata
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027422: Initial count in session module does not work fine if two payment methods are defined as cash in the same currency

DescriptionInitial count in session module does not work fine if two payment methods are defined as cash. The system does not take into consideration always the same, it takes it randomly.
Steps To Reproduce- Install session module
- Define an initial count
- Set to payment methods as cash in the same currency
- Notice that the initial count takes it randomly
Proposed SolutionFlag the payment method as initial count
TagsNo tags attached.
Attached Filespng file icon Selection_020.png [^] (101,558 bytes) 2014-08-27 16:59

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0069811)
mtaal (manager)
2014-08-27 16:58

https://code.openbravo.com/erp/pmods-branches/org.openbravo.retail.posterminal.cds/rev/9ab54d9b711f [^]
(0069812)
mtaal (manager)
2014-08-27 16:59

I added a flag to define a default cash payment method. The first payment method with this flag will be chosen as the default cash payment method in WebPOS.

See the attached screenshot for this flag.

gr. Martin
(0069862)
hgbot (developer)
2014-08-29 17:15

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c635819ccf0b50bb11d7817806946ba44986ce91
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Aug 29 17:15:24 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c635819ccf0b50bb11d7817806946ba44986ce91 [^]

Fixes issue 27422: Initial count in session module does not work fine if two payment methods are defined as cash in the same currency
Add a flag to flag one of the payment methods as the default cash payment method for the

---
M src-db/database/model/tables/OBPOS_APP_PAYMENT_TYPE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0070002)
mtaal (manager)
2014-09-08 09:04

Re-opened to add validation that there is only cash payment method flagged as default.
(0070072)
hgbot (developer)
2014-09-10 13:16

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 68163845347d8d2d0fbc03f18561ab078c17db6b
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Sep 10 13:15:46 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/68163845347d8d2d0fbc03f18561ab078c17db6b [^]

Related to issue 27422: Initial count in session module does not work fine if two payment methods are defined as cash in the same currency
Prevent more than one default cash payment method

---
M src-db/database/sourcedata/AD_MESSAGE.xml
A src/org/openbravo/retail/posterminal/PaymentMethodHandler.java
---
(0070073)
hgbot (developer)
2014-09-10 13:23

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a4a833082ceab624d3cb3a81efe74219a324c67a
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Sep 10 13:22:50 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a4a833082ceab624d3cb3a81efe74219a324c67a [^]

Related to issue 27422: Initial count in session module does not work fine if two payment methods are defined as cash in the same currency
Updated license text

---
M src/org/openbravo/retail/posterminal/PaymentMethodHandler.java
---
(0070074)
mtaal (manager)
2014-09-10 20:24

.
(0070095)
szapata (reporter)
2014-09-12 03:25

Always get the default payment method. Just a nice to have, it would be good to set by default this field to 'Y' or force at least one cash payment method as default.

- Issue History
Date Modified Username Field Change
2014-08-22 14:01 jonalegriaesarte New Issue
2014-08-22 14:01 jonalegriaesarte Assigned To => mtaal
2014-08-22 14:01 jonalegriaesarte Resolution time => 1409004000
2014-08-22 14:01 jonalegriaesarte Triggers an Emergency Pack => No
2014-08-25 08:53 egoitz Issue Monitored: egoitz
2014-08-27 16:58 mtaal Note Added: 0069811
2014-08-27 16:59 mtaal Note Added: 0069812
2014-08-27 16:59 mtaal File Added: Selection_020.png
2014-08-29 17:15 hgbot Checkin
2014-08-29 17:15 hgbot Note Added: 0069862
2014-08-29 17:15 hgbot Status new => resolved
2014-08-29 17:15 hgbot Resolution open => fixed
2014-08-29 17:15 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c635819ccf0b50bb11d7817806946ba44986ce91 [^]
2014-09-08 09:04 mtaal Note Added: 0070002
2014-09-08 09:04 mtaal Status resolved => new
2014-09-08 09:04 mtaal Resolution fixed => open
2014-09-10 13:16 hgbot Checkin
2014-09-10 13:16 hgbot Note Added: 0070072
2014-09-10 13:23 hgbot Checkin
2014-09-10 13:23 hgbot Note Added: 0070073
2014-09-10 20:24 mtaal Status new => scheduled
2014-09-10 20:24 mtaal Note Added: 0070074
2014-09-10 20:24 mtaal fix_in_branch => pi
2014-09-10 20:24 mtaal Status scheduled => resolved
2014-09-10 20:24 mtaal Fixed in Version => RR14Q4
2014-09-10 20:24 mtaal Resolution open => fixed
2014-09-12 03:25 szapata Review Assigned To => szapata
2014-09-12 03:25 szapata Note Added: 0070095
2014-09-12 03:25 szapata Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker