Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031962Retail ModulesCash uppublic2016-01-20 10:122016-02-08 11:29
malsasua 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
20Community Appliance
 
RR16Q2 
marvintm
No
0031962: reconciliations cashup not balanced with price precision 4 decimals
when you are using price precision with 4 decimals in currency, the reconciliation created by cashup are not balanced
. configure the Format.xml similar that Format.xml attached
. smartbuild and restart tomcat

. in backoffice
 currency EUR: price precision: 4
               POS precision: (void)
 pricelist:
   The White Valley Group Sale Price List Version
   product: baby carrier
     list price: 4.675
     unit price: 4.675

. in webpos:
 . do a cashup to start a clean cashup
 . new receipt:
  . product: baby carrier (price 4.68)
  paid using cash payment method
 . do cashup:
  . count cash: 4.68
  . cash to keep: 0
  . finish cashup

. in backoffice
 . go to fincancial account of cash payment method
  . go to reconciliation created by cashup:
   3 transactions:
    deposit amt: 4.68
    diff amt: 0.01
    withdrawal amt: 4.68

the reconciliation is not balanced
No tags attached.
causes defect 0039793 closed ranjith_qualiantech_com Remaining field is not working properly executing cash up with 3 decimals. 
xml Format.xml (3,253) 2016-01-20 11:32
https://issues.openbravo.com/file_download.php?file_id=8947&type=bug
Issue History
2016-01-20 10:12malsasuaNew Issue
2016-01-20 10:12malsasuaAssigned To => Retail
2016-01-20 10:12malsasuaResolution time => 1453676400
2016-01-20 10:12malsasuaTriggers an Emergency Pack => No
2016-01-20 10:26heccamIssue Monitored: heccam
2016-01-20 11:32malsasuaFile Added: Format.xml
2016-01-20 11:43guilleaerStatusnew => acknowledged
2016-01-21 07:23ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-01-21 07:24ranjith_qualiantech_comStatusacknowledged => scheduled
2016-02-03 08:30hgbotCheckin
2016-02-03 08:30hgbotNote Added: 0083871
2016-02-03 08:30hgbotStatusscheduled => resolved
2016-02-03 08:30hgbotResolutionopen => fixed
2016-02-03 08:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e0b3e1348df5eb93f4d92b224679087d5ec5aa39 [^]
2016-02-05 16:09marvintmSeveritycritical => major
2016-02-08 11:29marvintmReview Assigned To => marvintm
2016-02-08 11:29marvintmStatusresolved => closed
2016-02-08 11:29marvintmFixed in Version => RR16Q2
2018-12-13 12:15ranjith_qualiantech_comRelationship addedcauses 0039793

Notes
(0083871)
hgbot   
2016-02-03 08:30   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e0b3e1348df5eb93f4d92b224679087d5ec5aa39
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Feb 03 12:59:35 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e0b3e1348df5eb93f4d92b224679087d5ec5aa39 [^]

Fixes issue 31962 : Rounding Payment Expected amount before Cashup Count

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js
M web/org.openbravo.retail.posterminal/js/closecash/view/closecash.js
M web/org.openbravo.retail.posterminal/js/closecash/view/tabcashpayments.js
---