Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013727Openbravo ERP09. Financial managementpublic2010-06-22 16:032010-06-30 12:17
plujan 
dalsasua 
immediatemajorhave not tried
closedfixed 
5
pi 
 
Core
No
0013727: Test case ASS0050 fails since a new restriction
There is a new restriction made by commit
https://code.openbravo.com/erp/devel/pi/rev/3e46e3bc3c89 [^]
that prevents an asset to run if the value is too small. However, it should work just fine for the values given in the test case.
    * 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": 100
    * Set "Deprecation amt.": 100
    * 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 "You cannot create an amortization for small values and/or long periods"
Regression QA
Issue History
2010-06-22 16:03plujanNew Issue
2010-06-22 16:03plujanAssigned To => dalsasua
2010-06-22 16:04plujanTag Attached: Regression QA
2010-06-22 16:06plujanStatusnew => scheduled
2010-06-22 16:06plujanfix_in_branch => pi
2010-06-23 00:20hgbotCheckin
2010-06-23 00:20hgbotNote Added: 0028689
2010-06-23 00:20hgbotStatusscheduled => resolved
2010-06-23 00:20hgbotResolutionopen => fixed
2010-06-23 00:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c12224b72fbbb49b010bbf1c43fa0b5277fe9f0f [^]
2010-06-24 07:47sureshbabuNote Added: 0028720
2010-06-24 07:47sureshbabuStatusresolved => closed
2010-06-25 00:00anonymoussf_bug_id0 => 3021062
2010-06-30 12:17hudsonbotCheckin
2010-06-30 12:17hudsonbotNote Added: 0028897

Notes
(0028689)
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
---
(0028720)
sureshbabu   
2010-06-24 07:47   
tested, its working fine....following lines are generated.. 16.80, 33.33, 33.33 and 16.54
(0028897)
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 [^]