Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013728Openbravo ERP09. Financial managementpublic2010-06-22 16:082010-06-30 12:17
plujan 
dalsasua 
immediatecriticalhave not tried
closedfixed 
5
pi 
 
Core
No
0013728: I cannot create an amortization for large values
Since commit
https://code.openbravo.com/erp/devel/pi/rev/3e46e3bc3c89 [^]
if I follow steps in test case ASS0050 but using 1000 instead of 100 I got an error message:
      
Error:
An error occurred calculating the amortization plan.
   * Login as userA
    * Go to Financial Management->Assets->Assets
    * Click on new button to create a new asset
    * Fill all the mandatory fields
    * Check "Depreciate" check
    * Set "Calculate type": Time
    * Set "Amortize": Yearly
    * Set "Use life - Years": 3
    * Set "Purchase date": 01-01-2008
    * Set "Deprecation start date": 30-06-2008
    * Set "Asset value": 1000
    * Set "Deprecation amt.": 1000
    * Save
    * Click on "Create Amortization"

    
Expected Results:
    * Go to Financial Management->Assets->Assets->Asset Amortization
    * Verify that exists four lines with percentages of 16.80, 33.33, 33.33 and 16.54

Instead of this now the message is an error.
Regression QA
Issue History
2010-06-22 16:08plujanNew Issue
2010-06-22 16:08plujanAssigned To => dalsasua
2010-06-22 16:09plujanTag Attached: Regression QA
2010-06-22 16:09plujanStatusnew => scheduled
2010-06-22 16:09plujanfix_in_branch => pi
2010-06-22 17:17hgbotCheckin
2010-06-22 17:17hgbotNote Added: 0028683
2010-06-22 17:17hgbotStatusscheduled => resolved
2010-06-22 17:17hgbotResolutionopen => fixed
2010-06-22 17:17hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/aa32a90dfb165fab41c97ed4e7b6c668c84847e5 [^]
2010-06-23 00:20hgbotCheckin
2010-06-23 00:20hgbotNote Added: 0028687
2010-06-23 00:20hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/aa32a90dfb165fab41c97ed4e7b6c668c84847e5 [^] => http://code.openbravo.com/erp/devel/pi/rev/c12224b72fbbb49b010bbf1c43fa0b5277fe9f0f [^]
2010-06-24 07:23sureshbabuNote Added: 0028717
2010-06-24 07:23sureshbabuStatusresolved => closed
2010-06-25 00:00anonymoussf_bug_id0 => 3021065
2010-06-30 12:17hudsonbotCheckin
2010-06-30 12:17hudsonbotNote Added: 0028894
2010-06-30 12:17hudsonbotCheckin
2010-06-30 12:17hudsonbotNote Added: 0028895

Notes
(0028683)
hgbot   
2010-06-22 17:17   
Repository: erp/devel/pi
Changeset: aa32a90dfb165fab41c97ed4e7b6c668c84847e5
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Jun 22 17:16:29 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/aa32a90dfb165fab41c97ed4e7b6c668c84847e5 [^]

Fixes issue 13310. Fixes issue 13728.

---
M src-db/database/model/functions/A_ASSET_POST.xml
---
(0028687)
hgbot   
2010-06-23 00:20   
Repository: erp/devel/pi
Changeset: c12224b72fbbb49b010bbf1c43fa0b5277fe9f0f
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Wed Jun 23 00:20:09 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c12224b72fbbb49b010bbf1c43fa0b5277fe9f0f [^]

Fixes issue 13728. Fixes issue 13310. Fixes issue 13727

---
M src-db/database/model/functions/A_ASSET_POST.xml
---
(0028717)
sureshbabu   
2010-06-24 07:23   
verified its working for me..but in the plan
instead of 16.80, 33.33, 33.33 and 16.54 right now the percentage is 16.80, 33.33, 33.33 and 16.53
(0028894)
hudsonbot   
2010-06-30 12:17   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/aa32a90dfb16 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/0670375d782d [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17726.obx [^]
(0028895)
hudsonbot   
2010-06-30 12:17   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/c12224b72fbb [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/0670375d782d [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17726.obx [^]