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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022960
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] 09. Financial managementminorN/A2013-02-03 19:152013-02-06 08:24
ReportermiruritaView Statuspublic 
Assigned Tomirurita 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision4fe8031ec240
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionpiSCM revision 
Review Assigned Topramakrishnan
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022960: Ability to define amortization parameters in asset group and inherit them when creating an asset

DescriptionIt should be possible to define the following amortization parameters in asset group window.

All of them should be only visible if Depreciate flag is selected.

- Depreciation Type
  * Linear
- Calculate Type
  * Time
  * Percentage
- Annual Depreciation % (only visible if Percentage calculate type is selected)
- Amortize (only visible if Time calculate type is selected)
  * Monthly
  * Yearly
- Usable Life - Years (only visible if Yearly is selected)
- Usable Life - Months (only visible if Monthly is selected)

Those fields are only displayed in form view.

In Assets window when selecting the asset group the amortization configuration should be inherited from the group.
Steps To ReproduceTest Plan I
Do not apply this patch
1) Go to Asset Group window and create two asset groups
 - Name: Group1
 - Depreciate: No

 - Name: Group2
 - Depreciate: Yes
2) Apply the patch and compile
3) Go to Asset Group window
 - Name: Group1
 - Depreciate: No
The following fields are not visible but if the flag Depreciated is selected they should containg the following default values.
 - Depreciation Type: Linear
 - Calculate Type: Percentage
 - Annual Depreciation %
 - Amortize: Monthly
 - Usable Life - Months


 - Name: Group2
 - Depreciate: Yes
 - Depreciation Type: Linear
 - Calculate Type: Percentage
 - Annual Depreciation %
 - Amortize (not visible)
 - Usable Life - Years (not visible)
 - Usable Life - Months (not visible)

Test Plan II
1) Go to Asset Group window
2) Create a new Asset Group
3) Select Depreciate flag and new fields will appear:
 - Depreciation Type: Linear
 - Calculate Type: Percentage
 - Annual Depreciation %
4) Select Time calculate type
 - Depreciation Type: Linear
 - Calculate Type: Time
 - Amortize: Monthly
 - Usable Life - Months
5) Select Yearly amortization
 - Depreciation Type: Linear
 - Calculate Type: Time
 - Amortize: Yearly
 - Usable Life - Years
6) Unselect Depreceiate flag and previous fields will be hidden.

Test Plan III
1) Go to Asset Group window
2) Create 3 new Asset Groups
 - Name: My New Group1
 - Depreciate: Yes
 - Depreciation Type: Linear
 - Calculate Type: Percentage
 - Annual Depreciation %: 10

 - Name: My New Group2
 - Depreciate: Yes
 - Calculate Type: Time
 - Amortize: Monthly
 - Usable Life - Months: 12

 - Name: My New Group3
 - Depreciate: No

4) Go to Assets window
5) Create a new asset and select "My New Group1". Realize that the asset group configuration is inherited.
6) Create a new asset and select "My New Group2". Realize that the asset group configuration is inherited.
7) Create a new asset and select "My New Group3". Realize that the asset group configuration is inherited.
TagsNo tags attached.
Attached Filespng file icon AssetGroup.png [^] (28,823 bytes) 2013-02-03 19:21

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0022989 closedAugustoMauch Display Logic does not work properly always. 

-  Notes
(0056112)
hgbot (developer)
2013-02-03 19:24

Repository: erp/devel/pi
Changeset: 4fe8031ec24043fab134732eb9df8e20757680cb
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Sun Feb 03 19:24:14 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4fe8031ec24043fab134732eb9df8e20757680cb [^]

Fixes issue 22960: Ability to define amortization parameters in asset group

---
M src-db/database/model/tables/A_ASSET_GROUP.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/erpCommon/ad_callouts/SL_Depreciate.java
---
(0056113)
hgbot (developer)
2013-02-03 20:43

Repository: erp/devel/pi
Changeset: 1f5944baa2eed1fdd7bba5047f3fd86509e9c9cd
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Sun Feb 03 20:41:23 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1f5944baa2eed1fdd7bba5047f3fd86509e9c9cd [^]

Related to issue 22960: prevent API change, restore getDepreciatedFlag method

---
M src/org/openbravo/erpCommon/ad_callouts/SL_Depreciate.java
---
(0056150)
mirurita (developer)
2013-02-05 11:19

Documentation updated
http://wiki.openbravo.com/wiki/Asset_Group [^]
(0056185)
hudsonbot (developer)
2013-02-05 22: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/86db3ad54671 [^]

Maturity status: Test
(0056186)
hudsonbot (developer)
2013-02-05 22: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/86db3ad54671 [^]

Maturity status: Test
(0056197)
pramakrishnan (developer)
2013-02-06 08:24

Code Review + Testing - OK

- Issue History
Date Modified Username Field Change
2013-02-03 19:15 mirurita New Issue
2013-02-03 19:15 mirurita Assigned To => dmiguelez
2013-02-03 19:15 mirurita Modules => Core
2013-02-03 19:15 mirurita Triggers an Emergency Pack => No
2013-02-03 19:16 mirurita Description Updated View Revisions
2013-02-03 19:16 mirurita Assigned To dmiguelez => mirurita
2013-02-03 19:21 mirurita File Added: AssetGroup.png
2013-02-03 19:24 hgbot Checkin
2013-02-03 19:24 hgbot Note Added: 0056112
2013-02-03 19:24 hgbot Status new => resolved
2013-02-03 19:24 hgbot Resolution open => fixed
2013-02-03 19:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4fe8031ec24043fab134732eb9df8e20757680cb [^]
2013-02-03 20:43 hgbot Checkin
2013-02-03 20:43 hgbot Note Added: 0056113
2013-02-05 11:19 mirurita Note Added: 0056150
2013-02-05 22:44 hudsonbot Checkin
2013-02-05 22:44 hudsonbot Note Added: 0056185
2013-02-05 22:44 hudsonbot Checkin
2013-02-05 22:44 hudsonbot Note Added: 0056186
2013-02-06 08:24 pramakrishnan Review Assigned To => pramakrishnan
2013-02-06 08:24 pramakrishnan Note Added: 0056197
2013-02-06 08:24 pramakrishnan Status resolved => closed
2013-02-06 12:21 dmiguelez Relationship added related to 0022989


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker