Notes |
|
|
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
|
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
|
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
|
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
---
|
|
|
|
* 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. |
|
|
|
|
|
|
|
|
|
|
|
|
Tested on pi @ rev 8aee66a7a153 |
|