Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031326Retail ModulesWeb POSpublic2015-11-02 18:202015-11-13 14:51
umartirena 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
RR16Q1 
guilleaer
Pre packaging ( pi )
pi
No
0031326: Return values are not properly displayed in Web POS
Return values are not properly displayed in Web POS. Quantities, Line Amounts, Taxes, Payments are not displayed in negative.
Open WebPOS:
 * Create a ticket with a line
 * Click on Return this Receipt. Check that all quantities above are displayed in negative.
 * Pay the receipt and complete it.
 * Click on Receipts and search the previous ticket.
 * Verify that all quantities are displayed in positive (INCORRECT)
No tags attached.
related to defect 0031166 new rqueralta Incorrect label when a return is loaded in web pos 
Issue History
2015-11-02 18:20umartirenaNew Issue
2015-11-02 18:20umartirenaAssigned To => Retail
2015-11-02 18:20umartirenaTriggers an Emergency Pack => No
2015-11-02 19:01umartirenaResolution time => 1447628400
2015-11-02 19:01umartirenaRegression level => Pre packaging ( pi )
2015-11-02 19:01umartirenaRegression introduced in release => pi
2015-11-02 19:06OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9996#r9996
2015-11-02 19:35OrekariaStatusnew => acknowledged
2015-11-03 08:02ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2015-11-03 10:30OrekariaStatusacknowledged => scheduled
2015-11-03 10:30OrekariaAssigned Toranjith_qualiantech_com => jorge-garcia
2015-11-05 16:21jorge-garciaRelationship addedrelated to 0031166
2015-11-06 11:14hgbotCheckin
2015-11-06 11:14hgbotNote Added: 0081556
2015-11-06 11:14hgbotStatusscheduled => resolved
2015-11-06 11:14hgbotResolutionopen => fixed
2015-11-06 11:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/916e3e5d7e2ac3616f678555d19ccf50ac526c19 [^]
2015-11-06 11:15hgbotCheckin
2015-11-06 11:15hgbotNote Added: 0081557
2015-11-09 09:38OrekariaReview Assigned To => guilleaer
2015-11-13 14:51guilleaerStatusresolved => closed
2015-11-13 14:51guilleaerFixed in Version => RR16Q1

Notes
(0081556)
hgbot   
2015-11-06 11:14   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 916e3e5d7e2ac3616f678555d19ccf50ac526c19
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Nov 03 17:49:52 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/916e3e5d7e2ac3616f678555d19ccf50ac526c19 [^]

Fixed issue 31326: Return values are not properly displayed in Web POS

The problem was that before the orderType wasn't set to '1' (Return). With
previous fixes, now the orderType is set to 1.

The solution is to not execute the function changeSignToShowReturns() from
order.js. It's necessary to change the order type title from the order in the
POS. Finally, it's necessary to change to change the printAmount function to
show the negative valor of the payment.

Now, the information of the return is shown properly.

---
M web/org.openbravo.retail.posterminal/js/components/order.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0081557)
hgbot   
2015-11-06 11:15   
Repository: tools/automation/pi-mobile
Changeset: beb990810e29098765e4aeb36dc91f5b6815141c
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Nov 05 09:52:10 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/beb990810e29098765e4aeb36dc91f5b6815141c [^]

Verifies issue 31326: Return values are not properly displayed in Web POS

Added test I31326_VerifyCorrectPaidReturnValues

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I31326_VerifyCorrectPaidReturnValues.java
---