Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0029463 | Retail Modules | Web POS | public | 2015-03-30 18:20 | 2015-07-17 09:10 |
|
Reporter | aaroncalero | |
Assigned To | jorge-garcia | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | RR15Q4 | Fixed in Version | RR15Q3 | |
Merge Request Status | |
Review Assigned To | migueldejuana |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0029463: It is possible to give change or pay a return ticket if there is no cash available |
Description | The check to decide if there is enough cash to complete a sale/return is done depending on the current selected payment method.
Since credit cards are not "cash" payment methods, they skip that check, so it is possible to complete sales even if there is no cash available for change or returns. |
Steps To Reproduce | Login in WebPOS
Do a cashup and don't keep anything.
Create a ticket and add a product for 100€
Tap on the total button and add cash: 110€.
Verify that the "There is not enough cash available." message appears and the Done button is disabled.
Click on Card payment method.
Verify that the Done button is enabled and the sale can be completed. |
Proposed Solution | The check to allow/disallow completing a sale should be done taking into account all current cash values and all entered payments, it shouldn't depend on the current selected payment method. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0029312 | | closed | mario_castello | A sale can be finished when there is no cash available | causes | defect | 0032563 | | closed | ranjith_qualiantech_com | [SERQA 861] JS Error when you do an initial count without Cash payment method |
|
Attached Files | Issue29463_Option1.diff (2,140) 2015-04-01 13:58 https://issues.openbravo.com/file_download.php?file_id=7954&type=bug Issue29463_Option2.diff (2,719) 2015-04-01 13:58 https://issues.openbravo.com/file_download.php?file_id=7955&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2015-03-30 18:20 | aaroncalero | New Issue | |
2015-03-30 18:20 | aaroncalero | Assigned To | => aaroncalero |
2015-03-30 18:20 | aaroncalero | Triggers an Emergency Pack | => No |
2015-03-30 18:20 | aaroncalero | Relationship added | related to 0029312 |
2015-03-30 18:21 | aaroncalero | Assigned To | aaroncalero => Retail |
2015-03-30 19:04 | mario_castello | Assigned To | Retail => mario_castello |
2015-04-01 13:32 | malsasua | Assigned To | mario_castello => Retail |
2015-04-01 13:58 | malsasua | File Added: Issue29463_Option1.diff | |
2015-04-01 13:58 | malsasua | File Added: Issue29463_Option2.diff | |
2015-06-09 13:22 | malsasua | Resolution time | => 1436479200 |
2015-06-11 13:27 | marvintm | Assigned To | Retail => jorge-garcia |
2015-06-25 12:35 | hgbot | Checkin | |
2015-06-25 12:35 | hgbot | Note Added: 0078503 | |
2015-06-25 12:35 | hgbot | Status | new => resolved |
2015-06-25 12:35 | hgbot | Resolution | open => fixed |
2015-06-25 12:35 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fad40c5f7cf15a304ceca15e6bf39dff77e55ad3 [^] |
2015-06-29 17:04 | migueldejuana | Note Added: 0078569 | |
2015-06-29 17:04 | migueldejuana | Status | resolved => new |
2015-06-29 17:04 | migueldejuana | Resolution | fixed => open |
2015-06-29 18:54 | hgbot | Checkin | |
2015-06-29 18:54 | hgbot | Note Added: 0078574 | |
2015-07-01 10:09 | marvintm | Target Version | RR15Q3 => RR15Q4 |
2015-07-03 09:37 | hgbot | Checkin | |
2015-07-03 09:37 | hgbot | Note Added: 0078634 | |
2015-07-03 09:37 | hgbot | Status | new => resolved |
2015-07-03 09:37 | hgbot | Resolution | open => fixed |
2015-07-03 09:37 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fad40c5f7cf15a304ceca15e6bf39dff77e55ad3 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/464633dd387fd0cd4fb468d2bd62b368f5170b34 [^] |
2015-07-17 09:10 | migueldejuana | Review Assigned To | => migueldejuana |
2015-07-17 09:10 | migueldejuana | Note Added: 0078907 | |
2015-07-17 09:10 | migueldejuana | Status | resolved => closed |
2015-07-17 09:10 | migueldejuana | Fixed in Version | => RR15Q3 |
2016-06-02 12:58 | dmitry_mezentsev | Relationship added | causes 0032563 |
Notes |
|
(0078503)
|
hgbot
|
2015-06-25 12:35
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: fad40c5f7cf15a304ceca15e6bf39dff77e55ad3
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Jun 25 09:37:16 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fad40c5f7cf15a304ceca15e6bf39dff77e55ad3 [^]
Fixed issue 29463: It is possible to pay a return ticket if there is no cash
It is possible to give change or pay a return ticket if there is no cash
available.
The solution is to check if there is cash to cover the overpayment. If no, the
cash payment is deleted an a warning message appears indicating that there is
not enough cash and that the cash payment has been deleted.
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
|
|
|
|
There is a functionality to give change with another currency:
- Add product 100€
- Add payment 110€
- 10€ of change, but we can select $ and we would give 1,12$ change .
With this change, we cannot do this.
We should check if it is working fine in this case:
- Add product 100€
- Add payment 110€
- 10€ of change, but we can select Card and we would give 10€ change by card return. |
|
|
(0078574)
|
hgbot
|
2015-06-29 18:54
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 4697eaa6e2ead1a439b7130a4d529294863b6e68
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Jun 29 18:53:20 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4697eaa6e2ead1a439b7130a4d529294863b6e68 [^]
Backout commit 4799 / issue 29463
The proposed solution doesn't fix the real problem of the issue 29463.
The problem is not that you can done a payment with no cash and the return
of change by card method, the real problem is that the data generated in this
case is not saved well in the backend.
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
|
|
|
(0078634)
|
hgbot
|
2015-07-03 09:37
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 464633dd387fd0cd4fb468d2bd62b368f5170b34
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Jul 03 09:02:45 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/464633dd387fd0cd4fb468d2bd62b368f5170b34 [^]
Fixed issue 29463: It Is possible to give change or a return ticket with no cash
Web POS doesn't support to pay the change of a transaction with a credit card.
The proposal solution is to not allow the customer to pay the change with a
credit card or pay a change with no cash.
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
|
|
|
|
Tested and reviewed in 976cfed505b7 |
|