Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035032Retail ModulesWeb POSpublic2017-01-23 13:472017-01-26 09:00
nataliag 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
RR17Q2 
marvintm
No
0035032: Preference “Web POS window Cash Up Partial” using a master or slave terminal does not work correctly
If you use a terminal that is master or slave and have shared payment methods and you set the preference “Web POS window Cash Up Partial” to yes, when you try to do a partial cash up the Print & Close button is disabled and since that moment when you try to do anything in POS (pay a ticket, do cashup…) the button that is in the same position is also disabled.
1- In backend configure a terminal as master and another one as slave and set all the payment methods as “Shared Payment methods”.
2- Go to Preference window and set the “Web POS window Cash Up Partial” as Y.
3- Login in POS in the master or the slave terminals configured in step 1.
4- Do an action like create a ticket and complete it and everything works fine.
5- Go to the POS menu and select “Cash Up Partial”. “Print & Close button” is disabled.
6- Now, if you try to do any action, the button that is in the same position as the “Print & Close” was, is also disabled. Click on “Cancel” button and try to create a new ticket and pay it, the total button continues being disabled. If you try to do a cash up, the “Next” button, is also disabled.
 
This problem only occurs when the terminals used are Master and slave.
No tags attached.
related to defect 0031782 closed ranjith_qualiantech_com [SERQA 508] Transactions with shared payment methods in Slave terminal are not show in Cash up partial report of master terminal 
Issue History
2017-01-23 13:47nataliagNew Issue
2017-01-23 13:47nataliagAssigned To => Retail
2017-01-23 13:47nataliagResolution time => 1486940400
2017-01-23 13:47nataliagTriggers an Emergency Pack => No
2017-01-23 23:53eugeniIssue Monitored: eugeni
2017-01-24 13:33jorge-garciaStatusnew => scheduled
2017-01-24 13:33jorge-garciaAssigned ToRetail => jorge-garcia
2017-01-25 13:50jorge-garciaRelationship addedrelated to 0031782
2017-01-26 08:40hgbotCheckin
2017-01-26 08:40hgbotNote Added: 0093833
2017-01-26 08:40hgbotStatusscheduled => resolved
2017-01-26 08:40hgbotResolutionopen => fixed
2017-01-26 08:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/70a87192ab7820cb72741cd5505a130605d27ac0 [^]
2017-01-26 08:40hgbotCheckin
2017-01-26 08:40hgbotNote Added: 0093834
2017-01-26 09:00marvintmReview Assigned To => marvintm
2017-01-26 09:00marvintmStatusresolved => closed
2017-01-26 09:00marvintmFixed in Version => RR17Q2

Notes
(0093833)
hgbot   
2017-01-26 08:40   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 70a87192ab7820cb72741cd5505a130605d27ac0
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Jan 25 13:43:31 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/70a87192ab7820cb72741cd5505a130605d27ac0 [^]

Fixed issue 35032: Preference “Web POS window Cash Up Partial” using a
master or slave terminal does not work correctly

Finally, the preference is not the cause of this problem.

The problem was a function which waits until data is send to the backend. This function is triggered also when, in the WebPOS, we use the busyUntilFinishes functionality. In this case, the function reaches its timeout and then the result is shown.

The solution is to manage correctly the end of the function.

---
M web/org.openbravo.retail.posterminal/js/closecash/view/tabpostprintclose.js
---
(0093834)
hgbot   
2017-01-26 08:40   
Repository: tools/automation/pi-mobile
Changeset: 59f57cc60a4529e7c64b7d69db035e491bf4be77
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Jan 25 13:44:05 2017 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/59f57cc60a4529e7c64b7d69db035e491bf4be77 [^]

Verifies issue 35032: Preference “Web POS window Cash Up Partial” using a
master or slave terminal does not work correctly

Added test I35032_EnablePostAndPrintButton.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/I35032_EnablePostAndPrintButton.java
---