Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037762Retail ModulesReturn Receiptpublic2018-01-30 10:232018-02-06 19:24
malsasua 
rqueralta 
normalmajorhave not tried
closedfixed 
5
 
RR18Q2 
marvintm
No
0037762: Verified returns is not working with scaled products
When a line of scaled product is selected in verified returns functionality, the line is added with positive quantityin the ticket, and it should be added with negative quantity
reproducible in 17Q4, in pi a previous error is happening
BO:
. create a new product (p1), with "is scaled" Y
. add in pricelist (price: 5) and assortment
. configure "pos terminal":
    hw manager: http://localhost:8090/printer [^]
    Scale: http://localhost:8090/scale [^]
. open hw manager in localhost

POS:
. create new ticket:
  . new line: p1 -> qty: 1.181
  . new line: Avalanche transceiver -> qty: 1
  . total ticket 156.41
  . pay ticket
. open verifier return selector:_
   . select previous ticket
   . select all lines and add them to the current ticket
     . line 1: p1 -> qty: 1.181 -> WRONG:it should be -1.181
     . line 2: Avalance -> qty: -1 -> OK
     . total ticket: -144.59 -> WRONG: it should be 156.41
(see attachment)
No tags attached.
related to defect 0037769 closed rqueralta Verified returns is not working with scaled products: total line is set to 0 
related to defect 0037771 closed rqueralta Verified returns is not working with scaled products: loading window never is hidden 
png ticketScaledVerifiedReturn.png (210,968) 2018-01-30 10:24
https://issues.openbravo.com/file_download.php?file_id=11499&type=bug
png
Issue History
2018-01-30 10:23malsasuaNew Issue
2018-01-30 10:23malsasuaAssigned To => Retail
2018-01-30 10:23malsasuaResolution time => 1519167600
2018-01-30 10:23malsasuaTriggers an Emergency Pack => No
2018-01-30 10:24malsasuaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=16607#r16607
2018-01-30 10:24malsasuaFile Added: ticketScaledVerifiedReturn.png
2018-01-30 12:58malsasuaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=16610#r16610
2018-01-30 12:59malsasuaRelationship addedrelated to 0037769
2018-01-30 13:02malsasuaRelationship addedrelated to 0037771
2018-01-30 22:12rqueraltaAssigned ToRetail => rqueralta
2018-01-30 22:12rqueraltaAssigned Torqueralta => malsasua
2018-01-30 22:12rqueraltaAssigned Tomalsasua => rqueralta
2018-01-30 22:13rqueraltaStatusnew => scheduled
2018-02-06 15:21hgbotCheckin
2018-02-06 15:21hgbotNote Added: 0102219
2018-02-06 15:21hgbotStatusscheduled => resolved
2018-02-06 15:21hgbotResolutionopen => fixed
2018-02-06 15:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3a582eb1ecd9b815696c9070488c76c7d6e472e9 [^]
2018-02-06 19:24marvintmReview Assigned To => marvintm
2018-02-06 19:24marvintmStatusresolved => closed
2018-02-06 19:24marvintmFixed in Version => RR18Q2

Notes
(0102219)
hgbot   
2018-02-06 15:21   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3a582eb1ecd9b815696c9070488c76c7d6e472e9
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Fri Feb 02 14:37:15 2018 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3a582eb1ecd9b815696c9070488c76c7d6e472e9 [^]

Fixed issue 37762: Verified returns is not working with scaled products

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---