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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034070
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2016-09-22 14:042016-11-16 09:37
ReporterguillermogilView Statuspublic 
Assigned ToRetail 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionfda289a0a3c4
ProjectionnoneETAnoneTarget VersionRR16Q2.4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression levelProduction - Confirmed Stable
Regression date
Regression introduced in releaseRR16Q2
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/09dc9563011a [^]
Triggers an Emergency PackNo
Summary

0034070: If deleteCurrent function forces to create a new order the document Sequence is wrongly generated

DescriptionIf deleteCurrent function (OB.MobileApp.model.orderlist.deleteCurrent(true)) forces to create a new order the document Sequence is wrongly generated.
It is not taking into account the new orderList order when it is adding the new order to the orderList.
Steps To ReproduceLogin on WebPOS
Add a product
New ticket
Add a product
New ticket
Add a product
Set the following command on the console:
OB.MobileApp.model.orderList.deleteCurrent(true);
Set the following command on the console:
OB.MobileApp.model.orderList.deleteCurrent(true);

You will see that on the orderList are several document numbers wrong
Proposed SolutionSee attached diff
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0034058 closedjorge-garcia If deleteCurrent function forces to create a new order the document Sequence is wrongly generated 

-  Notes
(0091353)
hgbot (developer)
2016-11-11 08:49

Repository: retail/backports/3.0RR16Q2.4/org.openbravo.retail.posterminal
Changeset: fda289a0a3c41e7061cad2610c9c93e9f8e677dd
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Sep 23 11:17:23 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2.4/org.openbravo.retail.posterminal/rev/fda289a0a3c41e7061cad2610c9c93e9f8e677dd [^]

Fixed issue 34070, backport of issue 34058: If deleteCurrent function forces to create a new order
the document Sequence is wrongly generated

If the creation of a new order is forced, the sequence number must be updated
correctly.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0091402)
migueldejuana (developer)
2016-11-11 14:24

Tested and reviewed

- Issue History
Date Modified Username Field Change
2016-09-23 10:47 jorge-garcia Type defect => backport
2016-09-23 10:47 jorge-garcia Target Version => RR16Q2.3
2016-09-28 11:44 marvintm Target Version RR16Q2.3 => RR16Q2.4
2016-11-11 08:49 hgbot Checkin
2016-11-11 08:49 hgbot Note Added: 0091353
2016-11-11 08:49 hgbot Status scheduled => resolved
2016-11-11 08:49 hgbot Resolution open => fixed
2016-11-11 08:49 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q2.4/org.openbravo.retail.posterminal/rev/fda289a0a3c41e7061cad2610c9c93e9f8e677dd [^]
2016-11-11 14:24 migueldejuana Review Assigned To => migueldejuana
2016-11-11 14:24 migueldejuana Note Added: 0091402
2016-11-11 14:24 migueldejuana Status resolved => closed
2016-11-16 09:37 lorenzofidalgo Steps to Reproduce Updated View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker