Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044819Retail ModulesCash uppublic2020-08-14 09:192020-08-14 10:12
cdehen 
Retail 
normalmajoralways
newopen 
30Openbravo Appliance 14.04
RR20Q2.1 
 
No
0044819: EWI : fin_finacc_transaction violates check constraint fin_trans_amounts_chk
When you try to push a cash up with 0 totalsales 0.1 totaldeposits 0.1 totalreturns and 0 totaldrops.The result is 0.0 and not 0 in BigDecimal
Then you compare 0.0 with 0 and the result is not equal so you try to insert a new line in fin_finacc_transaction with 0 and it's forbid by the check constraint
You can reproduce with the number above
You can apply this provide patch to fix the problem
No tags attached.
patch Patch.patch (1,071) 2020-08-14 09:19
https://issues.openbravo.com/file_download.php?file_id=14868&type=bug
Issue History
2020-08-14 09:19cdehenNew Issue
2020-08-14 09:19cdehenAssigned To => Retail
2020-08-14 09:19cdehenFile Added: Patch.patch
2020-08-14 09:19cdehenTriggers an Emergency Pack => No
2020-08-14 10:12cdehenNote Added: 0122050

Notes
(0122050)
cdehen   
2020-08-14 10:12   
SorryBad version : it is not 20Q2.1 but 20Q1.2