Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030671
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Localization Pack: Spain] Multi Dimensional Tax Report Cash VATmajoralways2015-08-26 10:052015-08-26 10:32
ReportervmromanosView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiona85779ce0655
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Tovmromanos
Regression introduced in release
Summary

0030671: java.lang.ArithmeticException: Rounding necessary error received when tax rate is defined with more than 2 decimals

Descriptionjava.lang.ArithmeticException: Rounding necessary error received when tax rate is defined with more than 2 decimals
Steps To Reproduce1. Run Multidimensional Tax Report for any date and organization to check that any result is obtained
2. Access Tax Rate window for one of obtained rates and edit rate field to define more than 2 decimals. For example, instead of 21 set it as 21.123
3. Run Multidimensional Tax Report again using same filtering criteria and realize that java.lang.ArithmeticException: Rounding necessary error is received

In some countries is necessary to define tax rates with more than 2 decimals so report should support them
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0030614 closedAtulOpenbravo java.lang.ArithmeticException: Rounding necessary error received when tax rate is defined with more than 2 decimals 

-  Notes
(0079742)
hgbot (developer)
2015-08-26 10:30

Repository: erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30.cashvat
Changeset: a85779ce06559f47e8f377bd4fdb2a48d5eed3f4
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Wed Aug 26 01:28:49 2015 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30.cashvat/rev/a85779ce06559f47e8f377bd4fdb2a48d5eed3f4 [^]

Fixes Issue 30671:java.lang.ArithmeticException: Rounding necessary error
received when tax rate is defined with more than 2 decimals

Problem is with the setscale method.

---
M src/org/openbravo/module/invoiceTaxReportEnhanced30/cashvat/api/MTRRecord.java
---
(0079744)
vmromanos (manager)
2015-08-26 10:32

Code review + testing OK

Available in version 1.0.7 (or higher)

- Issue History
Date Modified Username Field Change
2015-08-26 10:05 vmromanos New Issue
2015-08-26 10:05 vmromanos Assigned To => AtulOpenbravo
2015-08-26 10:05 vmromanos Resolution time => 1440194400
2015-08-26 10:05 vmromanos Issue generated from 0030614
2015-08-26 10:05 vmromanos Relationship added related to 0030614
2015-08-26 10:15 vmromanos Status new => scheduled
2015-08-26 10:30 hgbot Checkin
2015-08-26 10:30 hgbot Note Added: 0079742
2015-08-26 10:30 hgbot Status scheduled => resolved
2015-08-26 10:30 hgbot Resolution open => fixed
2015-08-26 10:30 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30.cashvat/rev/a85779ce06559f47e8f377bd4fdb2a48d5eed3f4 [^]
2015-08-26 10:32 vmromanos Note Added: 0079744
2015-08-26 10:32 vmromanos Review Assigned To => vmromanos
2015-08-26 10:32 vmromanos Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker