Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0041297Openbravo ERP09. Financial managementpublic2019-07-05 12:482019-08-22 14:44
psanjuan 
AtulOpenbravo 
urgentmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
3.0PR19Q4 
Sandrahuguet
Core
No
0041297: Not possible to recalculate an amortization
Not possible to recalculate an amortization, unless not process Asset Amortization lines are manually removed by the user.
In Livebuils go to Assets window
Create a new asset there with below setup:
Organization - F&B EspaƱa
Search Key - Test Asset
Name - Test Asset
Asset Category - Otros

Check "Depreciate" flag.
Select Depreciation Type = Linear
Calculate Type = Time
Amortize = Monthly
usable life-months = 2
Depreciation Amt = 10000
Depreciation Start Date = Purchase Date = current date

Run amortization by clicking on Create Amortization.

Go back to the header and change usable life months to 3

Run amortization by clicking on Create Amortization.

Vefify an error is shown saying that the asset is fully depreciated. See image attached. This is not correct.

Now delete all the lines and run recalculate Amortization process. The process works.



It should not be required that the user manually deletes the amortization lines do not processed to recalculate an amortization rf finish it by entering a Depreciation End Date.
No tags attached.
causes defect 0044996 closed inigo_lerga Error in the Recalculate Amortization process 
jpg issue _41297.jpg (63,005) 2019-07-05 12:54
https://issues.openbravo.com/file_download.php?file_id=13095&type=bug
jpg
Issue History
2019-07-05 12:48psanjuanNew Issue
2019-07-05 12:48psanjuanAssigned To => Triage Finance
2019-07-05 12:48psanjuanModules => Core
2019-07-05 12:48psanjuanTriggers an Emergency Pack => No
2019-07-05 12:54psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=19052#r19052
2019-07-05 12:54psanjuanProposed Solution updated
2019-07-05 12:54psanjuanFile Added: issue _41297.jpg
2019-07-05 14:43psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=19053#r19053
2019-07-05 14:43psanjuanProposed Solution updated
2019-07-09 12:17franciscoResolution time => 1564437600
2019-07-09 12:40SandrahuguetAssigned ToTriage Finance => AtulOpenbravo
2019-07-09 13:09AtulOpenbravoStatusnew => scheduled
2019-07-12 14:33hgbotCheckin
2019-07-12 14:33hgbotNote Added: 0113335
2019-07-12 14:33hgbotStatusscheduled => resolved
2019-07-12 14:33hgbotResolutionopen => fixed
2019-07-12 14:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b08b4a60567827416c8c769270a3a5f6f22b62ad [^]
2019-07-12 14:34SandrahuguetReview Assigned To => Sandrahuguet
2019-07-12 14:34SandrahuguetNote Added: 0113336
2019-07-12 14:34SandrahuguetStatusresolved => closed
2019-07-12 14:34SandrahuguetFixed in Version => 3.0PR19Q4
2019-08-22 14:44hudsonbotCheckin
2019-08-22 14:44hudsonbotNote Added: 0114145
2020-09-07 16:59rafarodaRelationship addedcauses 0044996

Notes
(0113335)
hgbot   
2019-07-12 14:33   
Repository: erp/devel/pi
Changeset: b08b4a60567827416c8c769270a3a5f6f22b62ad
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Wed Jul 10 14:07:04 2019 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/b08b4a60567827416c8c769270a3a5f6f22b62ad [^]

Fixes Issue 41297:Not possible to recalculate an amortization

When recalcuting the amortization for an asset, remove its
already created unprocessed amortization and its lines.

---
M src/org/openbravo/erpCommon/ad_process/assets/AssetLinearDepreciationMethodProcess.java
---
(0113336)
Sandrahuguet   
2019-07-12 14:34   
code review + testing ok
(0114145)
hudsonbot   
2019-08-22 14:44   
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/ad3efd3bd07c [^]
Maturity status: Test