Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034757Retail ModulesWeb POSpublic2016-12-16 12:402016-12-20 18:17
paul_guiot 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
RR17Q1 
marvintm
No
0034757: [2169] Returning a ticket after spliting the line does not work
Returning a ticket after spliting the line does not work

See video
- Go to the webpos https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1#retail.pointofsale [^]
- Create a ticket: Add 3 Qty of Adhesive body warmers classic
- Select the line and click on split;
- Create 3 different lines;
- Select all the 3 lines and click on "return line";
- Without selecting any reasons, click on "return line" to put all lines again into positive.

An error message rises and it is not possible to continue the operation
It should be possible to make the return after spliting the lines
No tags attached.
? 2169.mp4 (876,746) 2016-12-16 12:40
https://issues.openbravo.com/file_download.php?file_id=10179&type=bug
Issue History
2016-12-16 12:40paul_guiotNew Issue
2016-12-16 12:40paul_guiotAssigned To => Retail
2016-12-16 12:40paul_guiotFile Added: 2169.mp4
2016-12-16 12:40paul_guiotResolution time => 1482102000
2016-12-16 12:40paul_guiotTriggers an Emergency Pack => No
2016-12-19 09:01marvintmResolution time1482102000 => 1483052400
2016-12-19 11:07jorge-garciaAssigned ToRetail => jorge-garcia
2016-12-19 11:07jorge-garciaStatusnew => scheduled
2016-12-19 11:07jorge-garciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=14050#r14050
2016-12-19 11:08jorge-garciaNote Added: 0092761
2016-12-19 11:08jorge-garciaNote Edited: 0092761bug_revision_view_page.php?bugnote_id=0092761#r14052
2016-12-20 08:48hgbotCheckin
2016-12-20 08:48hgbotNote Added: 0092825
2016-12-20 08:48hgbotStatusscheduled => resolved
2016-12-20 08:48hgbotResolutionopen => fixed
2016-12-20 08:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/066d920a4ce81da08bce0431661671de3921023f [^]
2016-12-20 08:48hgbotCheckin
2016-12-20 08:48hgbotNote Added: 0092826
2016-12-20 18:17marvintmReview Assigned To => marvintm
2016-12-20 18:17marvintmStatusresolved => closed
2016-12-20 18:17marvintmFixed in Version => RR17Q1

Notes
(0092761)
jorge-garcia   
2016-12-19 11:08   
Steps to reproduce updated to be consistent with the video attached.

(0092825)
hgbot   
2016-12-20 08:48   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 066d920a4ce81da08bce0431661671de3921023f
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Dec 19 12:21:43 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/066d920a4ce81da08bce0431661671de3921023f [^]

Fixed issue 34757: [2169] Returning a ticket after splitting the line does
not work

The calculation of taxes is done using promises ad that asynchronous call
is causing the problem.

The solution implemented is to avoid the calculation of the receipt until
all changes had been done in the receipt.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0092826)
hgbot   
2016-12-20 08:48   
Repository: tools/automation/pi-mobile
Changeset: 377c744068eeec423c7afc8e81f0649eb2d4c1d8
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Dec 19 12:19:44 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/377c744068eeec423c7afc8e81f0649eb2d4c1d8 [^]

Verifies issue 34757: [2169] Returning a ticket after splitting the line does
not work

Added test I34757_ReturnSeveralSplitLinesReturned.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/splitline/I34757_ReturnSeveralSplitLinesReturned.java
---