Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0019696 | Openbravo ERP | 09. Financial management | public | 2012-02-09 04:51 | 2012-04-26 10:36 |
|
Reporter | boris | |
Assigned To | migueldejuana | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | CentOS 6 |
Product Version | 3.0MP7.1 | |
Target Version | | Fixed in Version | 3.0MP11 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | Google Chrome |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0019696: CSV export of Currency is in two digits |
Description | Export an Cuurency to csv. The "Multiple Rate By" and "Divide Rate By" are just in 2 digit accuracy (making them useless for exporting exchange rates). |
Steps To Reproduce | Go to Currency. Select a currency that has Conversion Rates. Click on the export button. Oh, and make sure you have rates with a higher precision than two digits.
For example:
"To Currency","Valid From Date","Valid To Date","Multiple Rate By","Divide Rate By"
"HKD","24-03-2006","25-03-2006",9.29,0.11
That is the result of the HK$ rate. It should have exported this: 9.2875 |
Proposed Solution | When exporting to CSV use the same precision as is stored in the database. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-02-09 04:51 | boris | New Issue | |
2012-02-09 04:51 | boris | Assigned To | => jonalegriaesarte |
2012-02-09 04:51 | boris | Web browser | => Google Chrome |
2012-02-09 04:51 | boris | Modules | => Core |
2012-04-03 12:20 | jonalegriaesarte | Assigned To | jonalegriaesarte => vmromanos |
2012-04-11 09:45 | vmromanos | Assigned To | vmromanos => alostale |
2012-04-19 08:46 | alostale | Assigned To | alostale => migueldejuana |
2012-04-20 11:18 | hgbot | Checkin | |
2012-04-20 11:18 | hgbot | Note Added: 0047781 | |
2012-04-20 11:18 | hgbot | Status | new => resolved |
2012-04-20 11:18 | hgbot | Resolution | open => fixed |
2012-04-20 11:18 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/7e96bd54d7b0a9c144f3ab1f80fed9eccf230648 [^] |
2012-04-20 11:21 | migueldejuana | Note Added: 0047782 | |
2012-04-21 14:24 | hudsonbot | Checkin | |
2012-04-21 14:24 | hudsonbot | Note Added: 0047852 | |
2012-04-26 10:36 | alostale | Note Added: 0047993 | |
2012-04-26 10:36 | alostale | Status | resolved => closed |
2012-04-26 10:36 | alostale | Fixed in Version | => 3.0MP11 |
Notes |
|
(0047781)
|
hgbot
|
2012-04-20 11:18
|
|
Repository: erp/devel/pi
Changeset: 7e96bd54d7b0a9c144f3ab1f80fed9eccf230648
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Apr 20 11:17:28 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7e96bd54d7b0a9c144f3ab1f80fed9eccf230648 [^]
Fixed issue 19696: Multiple & Divide Rate in ConversionRate csv use 6 decimals
Exporting to Spreadsheet in Currency - Conversion Rates, the Multiple Rate by an Divide Rate by columns show the value only with 2 digits precision. It has been updated and now it shows 6 digits precision as same as the grid/form.
---
M modules/org.openbravo.client.kernel/src-db/database/sourcedata/OBCLKER_UIDEFINITION.xml
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/NumberUIDefinition.java
---
|
|
|
|
Test plan:
- Go to Currency
- Create a Conversion Rate in one Currency (use more than 2 decimals in the value of Multiple Rate by and Divide Rate by columns)
- Export this Conversion Rate
It should be no risky. |
|
|
|
|
|
|
Code reviewed and verified in pi@9d54745371d5 |
|