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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012637
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2010-03-10 16:572010-07-29 10:49
ReporternetworkbView Statuspublic 
Assigned Tovmromanos 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision5707d6344e5f
ProjectionnoneETAnoneTarget Version2.50MP14
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP12SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012637: Major issue in 'Recalculate amortization'

DescriptionWe have an asset:
   - amount: 1000
   - Annual Depreciation %: 15
   If the depreciation start date is 01-01-2010, the result is:
     - 01/01/2010 - 31/12/2010 --> Amortization Percentage: 15%
     - 01/01/2011 - 31/12/2011 --> Amortization Percentage: 15%
     - 01/01/2012 - 31/12/2012 --> Amortization Percentage: 15%
     - 01/01/2013 - 31/12/2013 --> Amortization Percentage: 15%
     - 01/01/2014 - 31/12/2014 --> Amortization Percentage: 15%
     - 01/01/2015 - 31/12/2015 --> Amortization Percentage: 25% <-- wrong
Steps To Reproduce-Go to Financial Management || Assets || Assets
-Create a new record:
    - Set depreciate.
    - Annual Depreciation %: 15
    - Purchase date and Depreciation Start date: 01-01-2010
    - Asset Value and Depreciation Amt. : 1000

-Click 'Recalculate Amortization'
-Go to Asset Amortization
Proposed SolutionThe result should be:
    - 01/01/2010 - 31/12/2010 --> Amortization Percentage: 15%
    - 01/01/2011 - 31/12/2011 --> Amortization Percentage: 15%
    - 01/01/2012 - 31/12/2012 --> Amortization Percentage: 15%
    - 01/01/2013 - 31/12/2013 --> Amortization Percentage: 15%
    - 01/01/2014 - 31/12/2014 --> Amortization Percentage: 15%
    - 01/01/2015 - 31/12/2015 --> Amortization Percentage: 15%
    - 01/01/2016 - 31/12/2016 --> Amortization Percentage: 10%
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0025476)
hgbot (developer)
2010-03-15 13:47

Repository: erp/devel/pi
Changeset: 5707d6344e5f618a9fd43cdb29e79b3c8b389f2f
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Mon Mar 15 13:32:53 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5707d6344e5f618a9fd43cdb29e79b3c8b389f2f [^]

Fixed bug 12637: Major issue in Recalculate amortization

---
M src-db/database/model/functions/A_ASSET_POST.xml
---
(0025492)
hgbot (developer)
2010-03-15 18:51

Repository: tools/automation/main
Changeset: 07be4c843e1d1f57aaceafa448ef15ba786e5bb5
Author: Leo Arias <leo.arias <at> openbravo.com>
Date: Mon Mar 15 11:58:11 2010 -0600
URL: http://code.openbravo.com/tools/automation/main/rev/07be4c843e1d1f57aaceafa448ef15ba786e5bb5 [^]

Updated test case ASS0020 Amortize asset by percentage in complete years:
Split the last amortization in 33 and 1 because issue 12637 is solved.

---
M src-test/com/openbravo/test/integration/erp/testcases/smoke/assets/ASS0020_AmortizeAssetByPercentageInCompleteYears.java
---
(0025547)
hudsonbot (developer)
2010-03-17 09:00

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/5707d6344e5f [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/859b8a1e96e9 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16735.obx [^]
(0025860)
arunkumar (reporter)
2010-04-01 09:10

Tested & working fine
(0029661)
hgbot (developer)
2010-07-29 10:49

Repository: tools/automation/int
Changeset: 17e9e7f473b7b2d5517390d28a6fb5447d158971
Author: Juan Pablo Aroztegi <juanpablo.aroztegi <at> openbravo.com>
Date: Fri Mar 26 14:57:25 2010 +0100
URL: http://code.openbravo.com/tools/automation/int/rev/17e9e7f473b7b2d5517390d28a6fb5447d158971 [^]

Apply changeset 07be4c843e1d from automation/main:

Updated test case ASS0020 Amortize asset by percentage in complete years:
Split the last amortization in 33 and 1 because issue 12637 is solved.

---
M src-test/com/openbravo/test/integration/smoke/assets/I_01_AmortizeAssetByPercentageInCompleteYears.java
---

- Issue History
Date Modified Username Field Change
2010-03-10 16:57 networkb New Issue
2010-03-10 16:57 networkb Assigned To => dalsasua
2010-03-15 10:30 vmromanos Status new => scheduled
2010-03-15 10:30 vmromanos Assigned To dalsasua => vmromanos
2010-03-15 10:30 vmromanos fix_in_branch => pi
2010-03-15 13:47 hgbot Checkin
2010-03-15 13:47 hgbot Note Added: 0025476
2010-03-15 13:47 hgbot Status scheduled => resolved
2010-03-15 13:47 hgbot Resolution open => fixed
2010-03-15 13:47 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5707d6344e5f618a9fd43cdb29e79b3c8b389f2f [^]
2010-03-15 18:51 hgbot Checkin
2010-03-15 18:51 hgbot Note Added: 0025492
2010-03-17 09:00 hudsonbot Checkin
2010-03-17 09:00 hudsonbot Note Added: 0025547
2010-04-01 09:10 arunkumar Note Added: 0025860
2010-04-01 09:10 arunkumar Status resolved => closed
2010-04-02 00:00 anonymous sf_bug_id 0 => 2980801
2010-07-29 10:49 hgbot Checkin
2010-07-29 10:49 hgbot Note Added: 0029661


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker