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

Notes
(0101861)
hgbot   
2018-01-22 19:46   
Repository: retail/backports/3.0RR17Q4.1/org.openbravo.retail.posterminal
Changeset: d8da31488e600c1e681a700218bcfde78c8ce7ef
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Mon Jan 22 12:45:37 2018 -0500
URL: http://code.openbravo.com/retail/backports/3.0RR17Q4.1/org.openbravo.retail.posterminal/rev/d8da31488e600c1e681a700218bcfde78c8ce7ef [^]

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