Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037694Retail ModulesWeb POSpublic2017-12-26 13:182018-01-25 11:18
malsasua 
rqueralta 
normalmajoralways
closedfixed 
5
 
RR18Q1RR18Q1 
marvintm
No
0037694: Cashup invoice is not including the layaways, but it is including the canceled layaways
When a layaway is created, and it is not paid totally, the layaway is not included in the invoice created by cashup.
If you cancel the layaway (using "cancel layaway" or "cancel & replace" functionality) the layaway that it is cancelling the original layaway is included in the invoice of cashup, but the original layaway is not included in it.
POS:
. do a cashup (so we start with a clean cashup)
. create a new layaway - L1 (total 100 - paid 20)
. do a cashup

BO:
. no invoice is created in the cashup. L1 is not invoiced

POS:
. load previous layaway L1
. execute "cancel layaway" functionality > L2 is created with amount -100 (total paid -20)
. do a cashup

BO:
. invoice is created with total amount -100, and L2 is related with the invoice, but L1 never is invoiced
No tags attached.
blocks defect 0037547 closed rqueralta Cashup invoice is not including the layaways, but it is including the canceled layaways 
Issue History
2018-01-22 11:28marvintmTypedefect => backport
2018-01-22 11:28marvintmTarget Version => RR18Q1
2018-01-22 19:41hgbotCheckin
2018-01-22 19:41hgbotNote Added: 0101859
2018-01-22 19:41hgbotStatusscheduled => resolved
2018-01-22 19:41hgbotResolutionopen => fixed
2018-01-22 19:41hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/824c1b0ddcba362a1dafb01aa8e9f7420a2d2913 [^] => http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.retail.posterminal/rev/486949291ba737631a22347ec5d3dd7d6ec1382c [^]
2018-01-25 11:18marvintmStatusresolved => closed
2018-01-25 11:18marvintmFixed in Version => RR18Q1

Notes
(0101859)
hgbot   
2018-01-22 19:41   
Repository: retail/backports/3.0RR18Q1/org.openbravo.retail.posterminal
Changeset: 486949291ba737631a22347ec5d3dd7d6ec1382c
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Mon Jan 22 12:50:25 2018 -0500
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.retail.posterminal/rev/486949291ba737631a22347ec5d3dd7d6ec1382c [^]

Fixed issue 37694: Cashup invoice is not including the layaways, but it is
including the canceled layaways

---
M src/org/openbravo/retail/posterminal/CancelLayawayLoader.java
M src/org/openbravo/retail/posterminal/OrderLoader.java
---