Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029595Retail ModulesReturn Receiptpublic2015-04-15 13:472015-05-06 18:34
lorenzofidalgo 
adrianromero 
immediatemajoralways
closedfixed 
5
main 
RR15Q3 
malsasua
Packaging and release
main
Unknown
No
0029595: Starting to return a receipt and before complete it, to complete another receipt, induces changes in the receipt to be returned
Following certain steps, completing a receipt induces severe changes in a previously created return receipt.

Following certain steps, this issue can be also reproduced changing among receipts. (See "Steps To Reproduce" area).
[This regression has been introduced in RR15Q2]


1-Login POS as vallblanca//openbravo.
2-In dropdown menu click "Return this receipt".
3-Add 1 x Adhesive body warmers.
4-Click '*' to create a new receipt.
5-Add 5 x Alpine Alpine skiing backpack 27 L
6-Click amount and complete this receipt.
Defect: Check the previous created return receipt has changed.

--

This issue can also be reproduced if, after step number 5, you click to see the first created receipt.
No tags attached.
depends on backport 0029699RR15Q2 closed adrianromero Starting to return a receipt and before complete it, to complete another receipt, induces changes in the receipt to be returned 
blocks feature request 0028933RR16Q1 closed Retail QA: RR15Q2: Add tests for Mobile applications 
png ReturnCorrupted.png (163,911) 2015-04-15 13:47
https://issues.openbravo.com/file_download.php?file_id=7990&type=bug
png
Issue History
2015-04-15 13:47lorenzofidalgoNew Issue
2015-04-15 13:47lorenzofidalgoAssigned To => Retail
2015-04-15 13:47lorenzofidalgoFile Added: ReturnCorrupted.png
2015-04-15 13:47lorenzofidalgoRegression level => Packaging and release
2015-04-15 13:47lorenzofidalgoRegression introduced in release => main
2015-04-15 13:47lorenzofidalgoTriggers an Emergency Pack => No
2015-04-15 15:50OrekariaRelationship addedblocks 0028933
2015-04-23 15:50hgbotCheckin
2015-04-23 15:50hgbotNote Added: 0076727
2015-04-23 15:50hgbotStatusnew => resolved
2015-04-23 15:50hgbotResolutionopen => fixed
2015-04-23 15:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3615c8b75f73b556e21a9483a12ab6323f34fa4d [^]
2015-04-23 15:51adrianromeroAssigned ToRetail => adrianromero
2015-04-23 15:52hgbotCheckin
2015-04-23 15:52hgbotNote Added: 0076731
2015-04-23 15:52hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3615c8b75f73b556e21a9483a12ab6323f34fa4d [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8831ba74234aa4f26e4cb2def69d8241813b5b4c [^]
2015-04-27 11:40adrianromeroStatusresolved => new
2015-04-27 11:40adrianromeroResolutionfixed => open
2015-04-27 11:41adrianromeroStatusnew => scheduled
2015-04-27 13:31adrianromeroRegression introduced by commit => Unknown
2015-04-27 13:31adrianromeroStatusscheduled => resolved
2015-04-27 13:31adrianromeroFixed in Version => RR15Q3
2015-04-27 13:31adrianromeroResolutionopen => fixed
2015-04-27 13:38hgbotCheckin
2015-04-27 13:38hgbotNote Added: 0076782
2015-04-27 13:38hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8831ba74234aa4f26e4cb2def69d8241813b5b4c [^] => http://code.openbravo.com/retail/backports/3.0RR15Q2/org.openbravo.retail.posterminal/rev/3f893d97297b9e41e2a6049836003df969a92630 [^]
2015-04-27 13:40hgbotCheckin
2015-04-27 13:40hgbotNote Added: 0076783
2015-04-27 13:40hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR15Q2/org.openbravo.retail.posterminal/rev/3f893d97297b9e41e2a6049836003df969a92630 [^] => http://code.openbravo.com/retail/backports/3.0RR15Q2/org.openbravo.mobile.core/rev/3caf66de08940ca7b1e7f4117e5a112eab171cbd [^]
2015-05-06 18:34malsasuaReview Assigned To => malsasua
2015-05-06 18:34malsasuaNote Added: 0077065
2015-05-06 18:34malsasuaStatusresolved => closed

Notes
(0076727)
hgbot   
2015-04-23 15:50   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3615c8b75f73b556e21a9483a12ab6323f34fa4d
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Apr 23 12:31:17 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3615c8b75f73b556e21a9483a12ab6323f34fa4d [^]

Fixes issue 0029595: Starting to return a receipt and before complete it, to complete another receipt, induces changes in the receipt to be returned
* Clone receipt in silent mode. This avoids events to be launched, calculate promotions, reenter this function ....
* Events to calculate gross, change,... are fired at the end of the function, so in this case these events are not lost.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0076731)
hgbot   
2015-04-23 15:52   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 8831ba74234aa4f26e4cb2def69d8241813b5b4c
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Apr 23 12:28:02 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8831ba74234aa4f26e4cb2def69d8241813b5b4c [^]

Fixes issue 0029595: Starting to return a receipt and before complete it, to complete another receipt, induces changes in the receipt to be returned
Added flag to OB.UTIL.clone function to allow clone backbone models silently or passing other attributes

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0076782)
hgbot   
2015-04-27 13:38   
Repository: retail/backports/3.0RR15Q2/org.openbravo.retail.posterminal
Changeset: 3f893d97297b9e41e2a6049836003df969a92630
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Apr 23 12:31:17 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2/org.openbravo.retail.posterminal/rev/3f893d97297b9e41e2a6049836003df969a92630 [^]

Fixes issue 0029595: Starting to return a receipt and before complete it, to complete another receipt, induces changes in the receipt to be returned
* Clone receipt in silent mode. This avoids events to be launched, calculate promotions, reenter this function ....
* Events to calculate gross, change,... are fired at the end of the function, so in this case these events are not lost.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0076783)
hgbot   
2015-04-27 13:40   
Repository: retail/backports/3.0RR15Q2/org.openbravo.mobile.core
Changeset: 3caf66de08940ca7b1e7f4117e5a112eab171cbd
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Apr 23 12:28:02 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2/org.openbravo.mobile.core/rev/3caf66de08940ca7b1e7f4117e5a112eab171cbd [^]

Fixes issue 0029595: Starting to return a receipt and before complete it, to complete another receipt, induces changes in the receipt to be returned
Added flag to OB.UTIL.clone function to allow clone backbone models silently or passing other attributes

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0077065)
malsasua   
2015-05-06 18:34   
verified