Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0024241 | Retail Modules | Web POS | public | 2013-07-01 23:28 | 2013-07-16 15:31 |
Reporter | jecharri | ||||
Assigned To | guilleaer | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | RMP25 | Fixed in Version | RMP25 | ||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | OBPS | ||||
Support ticket | 22111 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0024241: Impossible to print the cash up report in the backend | ||||
Description | Impossible to print the cash up report in the backend | ||||
Steps To Reproduce | -Create a cash up with two transactions with with the same g/L item as the "G/L Item for Cash drop/deposit" of the payment method. You will get an error in java code: filemodules/org.openbravo.retail.posterminal/src/org/openbravo/retail/posterminal/ad_reports/CashUpReport.java --> line 382 | ||||
Proposed Solution | Change: if (!cashToDepositQuery.list().isEmpty()) { cashToDeposit = (BigDecimal) cashToDepositQuery.list().get(0); } else { cashToDeposit = BigDecimal.ZERO; } to if (!cashToDepositQuery.list().isEmpty()) { Iterator iter = cashToDepositQuery.iterate(); while (iter.hasNext()){ cashToDeposit = cashToDeposit.add((BigDecimal) iter.next()); } } else { cashToDeposit = BigDecimal.ZERO; } | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-07-01 23:28 | jecharri | New Issue | |||
2013-07-01 23:28 | jecharri | Assigned To | => marvintm | ||
2013-07-01 23:28 | jecharri | OBNetwork customer | => Yes | ||
2013-07-01 23:28 | jecharri | Resolution time | => 1375567200 | ||
2013-07-01 23:28 | jecharri | Support ticket | => 22111 | ||
2013-07-03 15:16 | guilleaer | Assigned To | marvintm => guilleaer | ||
2013-07-05 16:21 | guilleaer | Note Added: 0059905 | |||
2013-07-08 12:21 | guilleaer | Note Added: 0059912 | |||
2013-07-08 15:19 | hgbot | Checkin | |||
2013-07-08 15:19 | hgbot | Note Added: 0059913 | |||
2013-07-08 15:19 | hgbot | Status | new => resolved | ||
2013-07-08 15:19 | hgbot | Resolution | open => fixed | ||
2013-07-08 15:19 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/058b83730d13cae2cf93b123fd243f8439740724 [^] | ||
2013-07-08 15:19 | hgbot | Checkin | |||
2013-07-08 15:19 | hgbot | Note Added: 0059914 | |||
2013-07-08 15:19 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/058b83730d13cae2cf93b123fd243f8439740724 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/722cf0fbb2a86d426baed0df8176ca495e084ad2 [^] | ||
2013-07-08 15:26 | hgbot | Checkin | |||
2013-07-08 15:26 | hgbot | Note Added: 0059926 | |||
2013-07-08 15:26 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/722cf0fbb2a86d426baed0df8176ca495e084ad2 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.multiorder/rev/058b83730d13cae2cf93b123fd243f8439740724 [^] | ||
2013-07-08 15:26 | hgbot | Checkin | |||
2013-07-08 15:26 | hgbot | Note Added: 0059927 | |||
2013-07-08 15:26 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.multiorder/rev/058b83730d13cae2cf93b123fd243f8439740724 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.multiorder/rev/722cf0fbb2a86d426baed0df8176ca495e084ad2 [^] | ||
2013-07-16 15:31 | marvintm | Review Assigned To | => marvintm | ||
2013-07-16 15:31 | marvintm | Status | resolved => closed | ||
2013-07-16 15:31 | marvintm | Fixed in Version | => RMP25 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|