Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037696Retail ModulesWeb POSpublic2017-12-26 13:182018-01-25 11:19
malsasua 
rqueralta 
normalmajoralways
closedfixed 
5
 
RR17Q3.3RR17Q3.3 
marvintm
No
0037696: 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 => RR17Q3.3
2018-01-22 19:48hgbotCheckin
2018-01-22 19:48hgbotNote Added: 0101863
2018-01-22 19:48hgbotStatusscheduled => resolved
2018-01-22 19:48hgbotResolutionopen => fixed
2018-01-22 19:48hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/824c1b0ddcba362a1dafb01aa8e9f7420a2d2913 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q3.3/org.openbravo.retail.posterminal/rev/0b43aa9ad2c93a1e74bc8f9574c3ea689a23cfff [^]
2018-01-25 11:19marvintmStatusresolved => closed
2018-01-25 11:19marvintmFixed in Version => RR17Q3.3

Notes
(0101863)
hgbot   
2018-01-22 19:48   
Repository: retail/backports/3.0RR17Q3.3/org.openbravo.retail.posterminal
Changeset: 0b43aa9ad2c93a1e74bc8f9574c3ea689a23cfff
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Fri Jan 19 17:16:20 2018 -0500
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.3/org.openbravo.retail.posterminal/rev/0b43aa9ad2c93a1e74bc8f9574c3ea689a23cfff [^]

Fixed issue 37696: 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
---