Openbravo Issue Tracking System - Retail Modules
View Issue Details
0026633Retail ModulesWeb POSpublic2014-05-20 12:522014-07-22 00:56
Orekaria 
malsasua 
normalmajoralways
closedfixed 
5
 
RR14Q4 
szapata
No
0026633: The paymentmethodcashup and taxcashup tables are not being cleared after a cashup
The paymentmethodcashup and taxcashup tables are not being cleared after a cashup
Open chrome, clear caché, specifically app-cache
Go to the resources view of the console and verify that there is no Web POS database
Login to POS with Vallblanca
Sell an avalanche (150.5€)
Run and finish the cashup
Verify that there are 4 records in the paymentmethodcashup table. remenber their cashup_id

Again...
Sell an avalanche (150.5€)
Run and finish the cashup
Verify that the paymentmethodcashup table has 8 records, 4 of them with the previous cashup_id and 4 of them with the active cashup_id

Verify the same for taxcashup (it will have 1 record and after the first cashup, 2 records)
clean both tables after a successful and verified cashup process
No tags attached.
related to design defect 0027019RR15Q1 closed szapata In Q2 version cash ups and reconciliations are not being created properly 
blocks feature request 0026974RR15Q1 closed Orekaria Retail Stabilization. Improved cashup stability - save it to the server 
Issue History
2014-05-20 12:52OrekariaNew Issue
2014-05-20 12:52OrekariaAssigned To => malsasua
2014-05-20 12:52OrekariaTriggers an Emergency Pack => No
2014-07-02 14:23OrekariaSeverityminor => major
2014-07-02 14:23OrekariaTarget Version => RR14Q4
2014-07-02 14:24OrekariaRelationship addedblocks 0026974
2014-07-10 10:08OrekariaRelationship addedrelated to 0027019
2014-07-16 18:51hgbotCheckin
2014-07-16 18:51hgbotNote Added: 0068682
2014-07-16 18:51hgbotStatusnew => resolved
2014-07-16 18:51hgbotResolutionopen => fixed
2014-07-16 18:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/85fe3ced8729fa57fe1a17e4f43e34c7bd4dae04 [^]
2014-07-22 00:56szapataReview Assigned To => szapata
2014-07-22 00:56szapataStatusresolved => closed

Notes
(0068682)
hgbot   
2014-07-16 18:51   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 85fe3ced8729fa57fe1a17e4f43e34c7bd4dae04
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Jul 16 18:51:54 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/85fe3ced8729fa57fe1a17e4f43e34c7bd4dae04 [^]

Fixes issue 0026633: The paymentmethodcashup and taxcashup tables are not being cleared after a cashup
Functionality to delete related data was already created. A mistake in the loop prevented to execute the code

---
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
---