Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034227Retail ModulesWeb POSpublic2016-10-18 05:092016-10-27 13:07
guillermogil 
jorge-garcia 
immediatemajoralways
closedfixed 
5
 
RR17Q1 
marvintm
Production - QA Approved
2016-09-07
RR16Q3.2
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5fc2b2fbce73b592f8b62cc977da7460f4fa503f [^]
No
0034227: It is not possible to do a logout if you have a ticket with all lines deleted
It is not possible to do a logout if you have a ticket with all lines deleted and you have the preference to Save Removed tickets to Y.

The popup raises and when you select to logout nothing happens.
Create the Save Removed tickets preference to Y and follow the attached video.
No tags attached.
depends on backport 0034249RR16Q4 closed jorge-garcia It is not possible to do a logout if you have a ticket with all lines deleted 
depends on backport 0034250RR16Q3.3 closed jorge-garcia It is not possible to do a logout if you have a ticket with all lines deleted 
caused by defect 0033587 closed jorge-garcia PreDeleteCurrentOrderHook is not called either from the cashup or from the logout 
? issueDeleteTicket.ogv (2,327,111) 2016-10-18 05:09
https://issues.openbravo.com/file_download.php?file_id=9922&type=bug
Issue History
2016-10-18 05:09guillermogilNew Issue
2016-10-18 05:09guillermogilAssigned To => Retail
2016-10-18 05:09guillermogilFile Added: issueDeleteTicket.ogv
2016-10-18 05:09guillermogilTriggers an Emergency Pack => No
2016-10-18 05:11guillermogilResolution time => 1476914400
2016-10-18 05:33guillermogilDescription Updatedbug_revision_view_page.php?rev_id=13395#r13395
2016-10-18 05:44guillermogilSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13397#r13397
2016-10-18 09:16jorge-garciaStatusnew => scheduled
2016-10-18 09:16jorge-garciaAssigned ToRetail => jorge-garcia
2016-10-18 13:19jorge-garciaRegression date => 2016-09-07
2016-10-18 13:19jorge-garciaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5fc2b2fbce73b592f8b62cc977da7460f4fa503f [^]
2016-10-19 15:32rbianchiniIssue Monitored: rbianchini
2016-10-20 10:43jorge-garciaRegression introduced in release => RR16Q4
2016-10-20 10:46hgbotCheckin
2016-10-20 10:46hgbotNote Added: 0090713
2016-10-20 10:46hgbotStatusscheduled => resolved
2016-10-20 10:46hgbotResolutionopen => fixed
2016-10-20 10:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1871567c37d778cddc3a74fb2875a06616a4fc4c [^]
2016-10-20 10:47hgbotCheckin
2016-10-20 10:47hgbotNote Added: 0090714
2016-10-20 10:57jorge-garciaNote Added: 0090717
2016-10-20 10:57jorge-garciaStatusresolved => new
2016-10-20 10:57jorge-garciaResolutionfixed => open
2016-10-20 11:01jorge-garciaRegression level => Production - QA Approved
2016-10-20 11:14jorge-garciaStatusnew => scheduled
2016-10-20 11:14jorge-garciaStatusscheduled => resolved
2016-10-20 11:14jorge-garciaFixed in Version => RR17Q1
2016-10-20 11:14jorge-garciaResolutionopen => fixed
2016-10-20 19:14dmitry_mezentsevRelationship addedcaused by 0033587
2016-10-20 19:17dmitry_mezentsevRegression introduced in releaseRR16Q4 => RR16Q3.2
2016-10-20 19:17dmitry_mezentsevNote Added: 0090737
2016-10-27 13:06marvintmReview Assigned To => marvintm
2016-10-27 13:06marvintmStatusresolved => closed

Notes
(0090713)
hgbot   
2016-10-20 10:46   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1871567c37d778cddc3a74fb2875a06616a4fc4c
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Oct 19 15:49:11 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1871567c37d778cddc3a74fb2875a06616a4fc4c [^]

Fixed issue 34227: It is not possible to do a logout if you have a ticket
with all lines deleted

The problem was to implement different actions for two cases almost
equals.

The solution is to implement almost the same actions even if the
receipt has all the lines deleted.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0090714)
hgbot   
2016-10-20 10:47   
Repository: tools/automation/pi-mobile
Changeset: a423eecaaf3500ee6be7f689640a1e3e5a9eb1eb
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Oct 18 17:19:21 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a423eecaaf3500ee6be7f689640a1e3e5a9eb1eb [^]

Verifies issue 34227: It is not possible to do a logout if you have a ticket
with all lines deleted

Added test I34227_LogoutWithAReceiptWithAllLinesDeleted.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I34227_LogoutWithAReceiptWithAllLinesDeleted.java
---
(0090717)
jorge-garcia   
2016-10-20 10:57   
Create backports for this issue
(0090737)
dmitry_mezentsev   
2016-10-20 19:17   
The cause of the issue was backported