Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0022960 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] 09. Financial management | minor | N/A | 2013-02-03 19:15 | 2013-02-06 08:24 | |||
Reporter | mirurita | View Status | public | |||||
Assigned To | mirurita | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 4fe8031ec240 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | pramakrishnan | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0022960: Ability to define amortization parameters in asset group and inherit them when creating an asset | |||||||
Description | It 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 Reproduce | Test 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(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 (viewer) 2013-02-05 11:19 |
Documentation updated http://wiki.openbravo.com/wiki/Asset_Group [^] |
(0056185) hudsonbot (viewer) 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 (viewer) 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 (viewer) 2013-02-06 08:24 |
Code Review + Testing - OK |
![]() |
|||
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 | OBNetwork customer | => No |
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 |