Openbravo Issue Tracking System - Retail Modules
View Issue Details
0025821Retail ModulesWeb POSpublic2014-02-24 18:122014-09-22 16:26
gorkaion 
gorkaion 
normalminorhave not tried
newopen 
20Gentoo
 
 
No
No
0025821: payment status is not changed when an amount is set with no payment type selected
When a receipt is being paid. If you click twice on a payment method none is selected and the default cash payment is used.

If an amount is entered in this scenario the cash payment is registered but the remaining amount and the check cash availability are not updated.
Create a receipt and enter on payment mode.
click twice to VISA button.
Notice that there is no button selected.
Enter using the keypad an amount.
The there is not enough cash message appears, even though there is enough.
It should be defined the default behaviour for each keypad toolbar:

* Edition Mode -> Find product by EAN/UPC. This is the current behaviour and it is OK
* Payment Mode -> Add default payment (usually cash) with the amount typed. Now tries to find a product by EAN/UPC
* Cash Up (Counting money step) -> Add counted money with the amount typed for the default payment. Now a warning appears. Wrong.
* Cash Up (Cash to keep step) -> Add the cash to keep for the amount typed. Now a Javascript error is raised. Wrong.
* Cash Management -> Add a cash movement for the default payment with the amount typed. Now a warning appears. Wrong.
No tags attached.
Issue History
2014-02-24 18:12gorkaionNew Issue
2014-02-24 18:12gorkaionAssigned To => gorkaion
2014-02-24 18:12gorkaionOBNetwork customer => No
2014-02-24 18:12gorkaionTriggers an Emergency Pack => No
2014-02-24 18:17hgbotCheckin
2014-02-24 18:17hgbotNote Added: 0064539
2014-02-24 18:17hgbotStatusnew => resolved
2014-02-24 18:17hgbotResolutionopen => fixed
2014-02-24 18:17hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/99ff3c87a9b1e67afa6a4bfebbebeec469d4b351 [^]
2014-02-24 18:27hgbotCheckin
2014-02-24 18:27hgbotNote Added: 0064542
2014-02-24 18:27hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/99ff3c87a9b1e67afa6a4bfebbebeec469d4b351 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/99ff3c87a9b1e67afa6a4bfebbebeec469d4b351 [^]
2014-03-28 13:57adrianromeroNote Added: 0065586
2014-03-28 13:57adrianromeroStatusresolved => new
2014-03-28 13:57adrianromeroResolutionfixed => open
2014-03-28 15:45adrianromeroNote Edited: 0065586bug_revision_view_page.php?bugnote_id=0065586#r5639
2014-03-31 18:00adrianromeroTarget Version => RR14Q3
2014-03-31 18:00adrianromeroProposed Solution updated
2014-06-24 14:54migueldejuanaTarget VersionRR14Q3 => RR14Q4
2014-09-22 16:26mtaalTarget VersionRR14Q4 =>

Notes
(0064539)
hgbot   
2014-02-24 18:17   
Repository: erp/pmods/org.openbravo.retail.posterminal.cirque
Changeset: 99ff3c87a9b1e67afa6a4bfebbebeec469d4b351
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Feb 24 18:13:38 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/99ff3c87a9b1e67afa6a4bfebbebeec469d4b351 [^]

Fixed issue 25821.Get default payment when there is none selected.

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0064542)
hgbot   
2014-02-24 18:27   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 99ff3c87a9b1e67afa6a4bfebbebeec469d4b351
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Feb 24 18:13:38 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/99ff3c87a9b1e67afa6a4bfebbebeec469d4b351 [^]

Fixed issue 25821.Get default payment when there is none selected.

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0065586)
adrianromero   
2014-03-28 13:57   
(edited on: 2014-03-28 15:45)
This flow still does not work but the effect is different:

After entering the amount without any payment method selected the message "UPC/EAN code not found" and nothing happens.

In this case, if any payment button is selected, it should add a new payment using the default payment method.