Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023408Openbravo ERP09. Financial managementpublic2013-03-26 17:262013-04-16 19:18
ngarcia 
jonalegriaesarte 
urgentmajoralways
closedfixed 
5
 
3.0MP23 
Core
No
0023408: Asset Amortization could not be recalculated if at least one line is processed and amount is changed
Asset Amortization could not be recalculated if at least one line is processed and amount is changed
As group admin role:
   Create an Asset Group
   Create an Asset:
      Asset Category: the previous created one
      Depreciate: Y
      Calculate Type: Time
      Amortize: Monthly
      Usable Life: 48
      Purchase Date, Depreciation Start Date: today
      Asset Value, Depreciation Amt.: 12000
   Calculate the amortization
   Select the first line, navigate to the associated amortization and process it
   Back in the Asset window, delete the rest of lines
   Change the Depreciation Value
   Recalculate the amortization
   The following error appears:
      "Document posted/processed"
No tags attached.
diff issue23408.diff (2,044) 2013-04-09 10:57
https://issues.openbravo.com/file_download.php?file_id=6086&type=bug
Issue History
2013-03-26 17:26ngarciaNew Issue
2013-03-26 17:26ngarciaAssigned To => dmiguelez
2013-03-26 17:26ngarciaModules => Core
2013-03-26 17:26ngarciaResolution time => 1366063200
2013-03-26 17:26ngarciaTriggers an Emergency Pack => No
2013-03-26 17:26ngarciaIssue Monitored: networkb
2013-03-27 17:38dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-04-02 11:54ngarciaTarget Version => 3.0MP23
2013-04-09 10:57miruritaFile Added: issue23408.diff
2013-04-11 17:02hgbotCheckin
2013-04-11 17:02hgbotNote Added: 0057849
2013-04-11 17:02hgbotStatusnew => resolved
2013-04-11 17:02hgbotResolutionopen => fixed
2013-04-11 17:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b7ba003bc841fc73074e0e39cf1939c830e67880 [^]
2013-04-11 17:03dmiguelezNote Added: 0057850
2013-04-11 17:03dmiguelezStatusresolved => closed
2013-04-16 19:18hudsonbotCheckin
2013-04-16 19:18hudsonbotNote Added: 0057962

Notes
(0057849)
hgbot   
2013-04-11 17:02   
Repository: erp/devel/pi
Changeset: b7ba003bc841fc73074e0e39cf1939c830e67880
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Tue Apr 09 10:56:16 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b7ba003bc841fc73074e0e39cf1939c830e67880 [^]

Fixes issue 23408: avoid a_amortizationline_trg trigger error

---
M src/org/openbravo/erpCommon/ad_process/assets/AssetLinearDepreciationMethodProcess.java
---
(0057850)
dmiguelez   
2013-04-11 17:03   
Code Review + Testing Ok
(0057962)
hudsonbot   
2013-04-16 19:18   
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/8df08bea850d [^]

Maturity status: Test