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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017846
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2011-06-30 13:072011-08-10 12:52
ReporterpsanjuanView Statuspublic 
Assigned Toadrianromero 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision56151e1a260f
ProjectionnoneETAnoneTarget Version3.0MP2
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04.1Database version11.1.0.6.0Ant version1.7.0
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017846: Multicurrency - finacc_txn_convert_rate numeric field in the DB is showing more than 6 characters

Descriptionfinacc_txn_convert_rate numeric is showing more than 6 characters.
Steps To Reproducesee screen attached.
Proposed Solutionfinacc_txn_convert_rate_numeric must be cut to show 6 decimals.
TagsNo tags attached.
Attached Filespng file icon 17846.png [^] (52,264 bytes) 2011-06-30 13:09

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0039157)
shuehner (administrator)
2011-07-18 12:40

note: similar failure case: activate audit trail for c_bpartner. Edit i.e. name or name2 of existing record and see that some unrelated decimal fields change value in the db.
(0039320)
hgbot (developer)
2011-07-22 09:51

Repository: erp/devel/pi
Changeset: b67d11a30224f62af69c2add4044370739abf65f
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Jul 20 18:41:24 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b67d11a30224f62af69c2add4044370739abf65f [^]

Fixes issue 0017846: Multicurrency - finacc_txn_convert_rate numeric field in the DB is showing more than 6 characters
It has been formatted-parsed the data that comes from callout to fix the number of decimals according the field properties

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0039321)
hgbot (developer)
2011-07-22 09:51

Repository: erp/devel/pi
Changeset: a89603e590744fc487ea714a85705c6bb9655d00
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Jul 21 15:35:12 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a89603e590744fc487ea714a85705c6bb9655d00 [^]

Fixes issue 0017846: Multicurrency - finacc_txn_convert_rate numeric field in the DB is showing more than 6 characters
It has been formatted-parsed the data that comes from callout to fix the number of decimals according the field properties

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0039322)
hgbot (developer)
2011-07-22 09:51

Repository: erp/devel/pi
Changeset: 56151e1a260f5ce2984fc1b21e903873f69a22f9
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Jul 22 09:48:20 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/56151e1a260f5ce2984fc1b21e903873f69a22f9 [^]

Fixes issue 0017846: Multicurrency - finacc_txn_convert_rate numeric field in the DB is showing more than 6 characters
Moved var declarations to the begining of the function to follow style guide

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0039324)
adrianromero (manager)
2011-07-22 10:13

* Testing the issue

Go the the window Conversion Rates, edit any record and change the value Multiply Rate to a value with more than 6 decimals "0.6666666666" and save.

Verify that in the window appears "0.666667" The value has been properly rounded to 6 decimals.

Go to the database and select the data of the table C_CONVERSION_RATE has also the value rounded "0.666667"

* Other areas affected

It has been modified how callout return values are sent to the window, so it affects almost all application. Verify also that most common windows with some callouts also work. For example. Verify that invoice lines can be created properly: When selecting a product price values are populated, when changing the quantity, the total of the line is also properly calculated, etc.
(0039661)
hudsonbot (developer)
2011-08-01 14:21

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf2afed6e8ef [^]

Maturity status: Test
(0039662)
hudsonbot (developer)
2011-08-01 14:21

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf2afed6e8ef [^]

Maturity status: Test
(0039663)
hudsonbot (developer)
2011-08-01 14:21

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf2afed6e8ef [^]

Maturity status: Test
(0040073)
iperdomo (reporter)
2011-08-10 12:52

Tested on pi @ rev 8aee66a7a153

- Issue History
Date Modified Username Field Change
2011-06-30 13:07 psanjuan New Issue
2011-06-30 13:07 psanjuan Assigned To => eintelau
2011-06-30 13:07 psanjuan Modules => Core
2011-06-30 13:09 psanjuan File Added: 17846.png
2011-07-05 11:39 psanjuan Assigned To eintelau => eduardo_Argal
2011-07-07 02:24 dmitry_mezentsev Assigned To eduardo_Argal => shuehner
2011-07-07 02:24 dmitry_mezentsev Target Version => 3.0MP2
2011-07-18 12:40 shuehner Assigned To shuehner => iperdomo
2011-07-18 12:40 shuehner Note Added: 0039157
2011-07-19 08:53 iperdomo Status new => scheduled
2011-07-19 08:53 iperdomo Assigned To iperdomo => adrianromero
2011-07-19 08:53 iperdomo fix_in_branch => pi
2011-07-22 09:51 hgbot Checkin
2011-07-22 09:51 hgbot Note Added: 0039320
2011-07-22 09:51 hgbot Status scheduled => resolved
2011-07-22 09:51 hgbot Resolution open => fixed
2011-07-22 09:51 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b67d11a30224f62af69c2add4044370739abf65f [^]
2011-07-22 09:51 hgbot Checkin
2011-07-22 09:51 hgbot Note Added: 0039321
2011-07-22 09:51 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/b67d11a30224f62af69c2add4044370739abf65f [^] => http://code.openbravo.com/erp/devel/pi/rev/a89603e590744fc487ea714a85705c6bb9655d00 [^]
2011-07-22 09:51 hgbot Checkin
2011-07-22 09:51 hgbot Note Added: 0039322
2011-07-22 09:51 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/a89603e590744fc487ea714a85705c6bb9655d00 [^] => http://code.openbravo.com/erp/devel/pi/rev/56151e1a260f5ce2984fc1b21e903873f69a22f9 [^]
2011-07-22 10:13 adrianromero Note Added: 0039324
2011-08-01 14:21 hudsonbot Checkin
2011-08-01 14:21 hudsonbot Note Added: 0039661
2011-08-01 14:21 hudsonbot Checkin
2011-08-01 14:21 hudsonbot Note Added: 0039662
2011-08-01 14:21 hudsonbot Checkin
2011-08-01 14:21 hudsonbot Note Added: 0039663
2011-08-10 12:52 iperdomo Note Added: 0040073
2011-08-10 12:52 iperdomo Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker