Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020828 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | major | always | 2012-06-21 16:39 | 2012-07-30 23:35 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | ioritzCia | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP14 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 3705932614c0 | ||||
Projection | none | ETA | none | Target Version | 3.0MP14 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 15914 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0020828: The amortization of an asset cannot be recalculated in some cases | |||||||
Description | The amortization of an asset cannot be recalculated in some cases There is a condition at the end of the a_asset_post function which raises an exception if the inserted lines plus the depreciated ones are not the same as the Usable Life of the product (one more if the depreciation start date is different from the 1st of the month for Monthly depreciation. Something similar for years). | |||||||
Steps To Reproduce | As a group admin role: Go to the Asset Group window and create a new record Go to the Asset window and create a new record Choose the group created before as an Asset Category Select the Depreciate checkbox Choose Time in the Calculate Type dropdown list Choose Montlhy in the Amortize dropdown list Insert 24 as Usable Life Select the 19 of the actual month for both the Purchase Date and Depreciation Start Date Insert 1500 as the Asset Value Click the Create Amortization button Navigate through the link to the Amortization of the first line Process it Go back to the Asset window and delete the rest of lines Click the Recalculate Amortization button Notice that the following error raises: An amortization plan cannot be created for so low amount and / or so big amount of time Insert 21 as Usable Life and click the Recalculate Amortization button Notice that now it is created succesfully | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0050285) jonalegriaesarte (viewer) 2012-06-29 13:33 |
Moved to MP14 due to other priorities |
(0050800) hgbot (developer) 2012-07-24 09:20 |
Repository: erp/devel/pi Changeset: 3705932614c014d360e0ef6585314225acf4dc24 Author: Ioritz Cia <ioritz.cia <at> openbravo.com> Date: Mon Jul 23 12:50:41 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/3705932614c014d360e0ef6585314225acf4dc24 [^] Fixes issue 20828: The amortization of an asset cannot be recalculated in some cases. --- M src-db/database/model/functions/A_ASSET_POST.xml --- |
(0050806) ioritzCia (viewer) 2012-07-24 13:27 |
Testing Plan: Follow the steps to reproduce. It is not needed to process the amortization line you are not going to remove. Try it with Yearly amortization type too, as the error was happening here to. Try it with start dates in the middle of the month and with the first day of the month, as it behaves differently. |
(0050872) hudsonbot (viewer) 2012-07-26 02:42 |
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/5edf203d5780 [^] Maturity status: Test |
(0050981) hgbot (developer) 2012-07-30 12:30 |
Repository: erp/devel/pi Changeset: 5f9d5073728d4b8c14122da755b63381a4fb51a6 Author: Ioritz Cia <ioritz.cia <at> openbravo.com> Date: Fri Jul 27 14:27:55 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/5f9d5073728d4b8c14122da755b63381a4fb51a6 [^] Related to issue 20828: Depreciated lines discounted from the inserted ones. --- M src-db/database/model/functions/A_ASSET_POST.xml --- |
(0051020) hudsonbot (viewer) 2012-07-30 23:35 |
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/1555c04652b7 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2012-06-21 16:39 | ngarcia | New Issue | |
2012-06-21 16:39 | ngarcia | Assigned To | => mirurita |
2012-06-21 16:39 | ngarcia | Modules | => Core |
2012-06-21 16:39 | ngarcia | OBNetwork customer | => Yes |
2012-06-21 16:39 | ngarcia | Support ticket | => 15914 |
2012-06-21 16:39 | ngarcia | Resolution time | => 1342994400 |
2012-06-21 16:39 | ngarcia | Issue Monitored: networkb | |
2012-06-21 16:45 | mirurita | Assigned To | mirurita => jonalegriaesarte |
2012-06-25 13:20 | jonalegriaesarte | Assigned To | jonalegriaesarte => ioritzCia |
2012-06-29 09:51 | jecharri | Assigned To | ioritzCia => jecharri |
2012-06-29 13:33 | jonalegriaesarte | Note Added: 0050285 | |
2012-06-29 13:33 | jonalegriaesarte | Target Version | 3.0MP13 => 3.0MP14 |
2012-07-12 10:04 | jecharri | Assigned To | jecharri => ioritzCia |
2012-07-24 09:20 | hgbot | Checkin | |
2012-07-24 09:20 | hgbot | Note Added: 0050800 | |
2012-07-24 09:20 | hgbot | Status | new => resolved |
2012-07-24 09:20 | hgbot | Resolution | open => fixed |
2012-07-24 09:20 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3705932614c014d360e0ef6585314225acf4dc24 [^] |
2012-07-24 13:27 | ioritzCia | Note Added: 0050806 | |
2012-07-26 02:42 | hudsonbot | Checkin | |
2012-07-26 02:42 | hudsonbot | Note Added: 0050872 | |
2012-07-30 12:30 | hgbot | Checkin | |
2012-07-30 12:30 | hgbot | Note Added: 0050981 | |
2012-07-30 14:03 | ngarcia | Status | resolved => closed |
2012-07-30 14:03 | ngarcia | Fixed in Version | => 3.0MP14 |
2012-07-30 23:35 | hudsonbot | Checkin | |
2012-07-30 23:35 | hudsonbot | Note Added: 0051020 | |
2012-09-14 13:53 | ngarcia | Relationship added | related to 0021656 |
2012-09-18 18:07 | jecharri | Relationship added | related to 0021682 |
2012-09-18 18:07 | jecharri | Relationship deleted | related to 0021682 |
Copyright © 2000 - 2009 MantisBT Group |