Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033861
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2016-08-31 11:062016-10-13 09:31
ReporterairaceburuView Statuspublic 
Assigned Tojorge-garcia 
PriorityimmediateResolutionfixedFixed in VersionRR16Q3.2
StatusclosedFix in branchFixed in SCM revisionfc8cd1f02ef5
ProjectionnoneETAnoneTarget VersionRR16Q3.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in releaseRR16Q2
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033861: Sequence number is getting incremented when empty bills are deleted through end session

DescriptionSequence number is getting incremented when empty bills are deleted through end session with "Web POS Save Removed Tickets" preference set to 'Y'.

This is because that empty bill is also getting synchronized during end session and set as deleted in the ERP.
Steps To ReproduceLog in to Openbravo
Set "Web POS Save Removed Tickets" preference to 'Y'
Log in to Web POS
Complete a ticket
Write down the sequence number (The one of the new empty bill)
End Session
Log in again
(Notice that the sequence number has been incremented)
(If you log in to Openbravo and browse to the sales order window you will see the empty bill synchronized with the "Deleted" flag set to 'Y')
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0033860 closedjorge-garcia Sequence number is getting incremented when empty bills are deleted through end session 

-  Notes
(0089942)
hgbot (developer)
2016-09-14 10:51

Repository: retail/backports/3.0RR16Q3.2/pi-mobile
Changeset: 3eeb6f35829cd569487289d7edc2fe8a45d5d3e4
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Sep 14 10:50:52 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.2/pi-mobile/rev/3eeb6f35829cd569487289d7edc2fe8a45d5d3e4 [^]

Verifies issue 33861: Sequence number is getting incremented when empty bills
are deleted through end session

Added test I33860_DontDeleteOrderWhenLogout

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I33860_DontDeleteOrderWhenLogout.java
---
(0089943)
hgbot (developer)
2016-09-14 10:52

Repository: retail/backports/3.0RR16Q3.2/org.openbravo.retail.posterminal
Changeset: fc8cd1f02ef5ca2ae6eb2de4f31360ea601c4214
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Sep 13 17:29:16 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.2/org.openbravo.retail.posterminal/rev/fc8cd1f02ef5ca2ae6eb2de4f31360ea601c4214 [^]

Fixed issue 33861: Sequence number is getting incremented when empty bills
are deleted through end session

When a logout is done, in the standard flow, all the tickets present in that
moment are deleted even if the receipt has no lines and is completely new.

This is a problem when the preference to Save Delete Tickets is active.

The solution, is to delete all the tickets with a document sequence lower than
the last ticket with lines.

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0090544)
hgbot (developer)
2016-10-13 09:31

Repository: tools/automation/pi-mobile
Changeset: 3eeb6f35829cd569487289d7edc2fe8a45d5d3e4
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Sep 14 10:50:52 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/3eeb6f35829cd569487289d7edc2fe8a45d5d3e4 [^]

Verifies issue 33861: Sequence number is getting incremented when empty bills
are deleted through end session

Added test I33860_DontDeleteOrderWhenLogout

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I33860_DontDeleteOrderWhenLogout.java
---

- Issue History
Date Modified Username Field Change
2016-08-31 11:27 jorge-garcia Type defect => backport
2016-08-31 11:27 jorge-garcia Target Version => RR16Q3.2
2016-09-14 10:51 hgbot Checkin
2016-09-14 10:51 hgbot Note Added: 0089942
2016-09-14 10:52 hgbot Checkin
2016-09-14 10:52 hgbot Note Added: 0089943
2016-09-14 10:52 hgbot Status scheduled => resolved
2016-09-14 10:52 hgbot Resolution open => fixed
2016-09-14 10:52 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q3.2/org.openbravo.retail.posterminal/rev/fc8cd1f02ef5ca2ae6eb2de4f31360ea601c4214 [^]
2016-09-14 12:52 jorge-garcia Assigned To Retail => jorge-garcia
2016-09-26 17:19 guilleaer Review Assigned To => guilleaer
2016-09-26 17:19 guilleaer Status resolved => closed
2016-09-26 17:19 guilleaer Fixed in Version => RR16Q3.2
2016-10-13 09:31 hgbot Checkin
2016-10-13 09:31 hgbot Note Added: 0090544


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker