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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033862
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2016-08-31 11:062016-10-05 12:39
ReporterairaceburuView Statuspublic 
Assigned Tojorge-garcia 
PriorityimmediateResolutionfixedFixed in VersionRR16Q2.3
StatusclosedFix in branchFixed in SCM revision0c860d1e0166
ProjectionnoneETAnoneTarget VersionRR16Q2.3
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

0033862: 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
(0089947)
hgbot (developer)
2016-09-14 12:35

Repository: retail/backports/3.0RR16Q2.3/pi-mobile
Changeset: 98682084a57c23f816add43d67fa935ccf83c759
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Sep 14 12:29:13 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2.3/pi-mobile/rev/98682084a57c23f816add43d67fa935ccf83c759 [^]

Verifies issue 33862: 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
---
(0089949)
hgbot (developer)
2016-09-14 12:36

Repository: retail/backports/3.0RR16Q2.3/org.openbravo.retail.posterminal
Changeset: 0c860d1e0166db645a3e35e7ef35432cb9fc6d65
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Sep 14 12:28:40 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2.3/org.openbravo.retail.posterminal/rev/0c860d1e0166db645a3e35e7ef35432cb9fc6d65 [^]

Fixed issue 33862: 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
---
(0090490)
hgbot (developer)
2016-10-05 12:39

Repository: tools/automation/pi-mobile
Changeset: 98682084a57c23f816add43d67fa935ccf83c759
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Sep 14 12:29:13 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/98682084a57c23f816add43d67fa935ccf83c759 [^]

Verifies issue 33862: 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 => RR16Q2.3
2016-09-14 12:35 hgbot Checkin
2016-09-14 12:35 hgbot Note Added: 0089947
2016-09-14 12:36 hgbot Checkin
2016-09-14 12:36 hgbot Note Added: 0089949
2016-09-14 12:36 hgbot Status scheduled => resolved
2016-09-14 12:36 hgbot Resolution open => fixed
2016-09-14 12:36 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q2.3/org.openbravo.retail.posterminal/rev/0c860d1e0166db645a3e35e7ef35432cb9fc6d65 [^]
2016-09-14 12:52 jorge-garcia Assigned To Retail => jorge-garcia
2016-09-26 17:15 guilleaer Review Assigned To => guilleaer
2016-09-26 17:15 guilleaer Status resolved => closed
2016-09-26 17:15 guilleaer Fixed in Version => RR16Q2.3
2016-10-05 12:39 hgbot Checkin
2016-10-05 12:39 hgbot Note Added: 0090490


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker