Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0012267 | Openbravo ERP | 09. Financial management | public | 2010-02-15 10:35 | 2010-05-18 12:12 |
|
Reporter | networkb | |
Assigned To | harikrishnan | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.50MP11 | |
Target Version | 2.50MP17 | Fixed in Version | 2.50MP15 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0012267: "Line" number shown makes no sense in Asset amortization tab |
Description | When an amortization plan is calculated for an asset, it shows a field called "Line" which shows, line number in Amortization window.
This information does not make sense, it should show line number regarding to asset amortization line, ordered by date. This solution will help to sort by date. |
Steps To Reproduce | Go to Financial management > Asset > Transactions > Asset.
Create a new register.
Fill its name, "Linear" as Depreciation Type, "Time" as Calculate Type,
"Monthly" as Amortize, 12 as Usable Life - Months, 01-01-2004 as Depreciation
Start Date and Purchase Date, 1000 as Depreciation Amt and Asset Value.
Press "Create Amortization".
Go to Asset Amortization tab.
Go to Amortization link. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0012184 | | closed | adrianromero | Line No not auto-incremented when Create Amortization. | blocks | defect | 0012899 | 2.50MP17 | closed | adrianromero | Amortization lines are not displayed in sequence of year |
|
Attached Files | assets amortization.PNG (37,318) 2010-02-15 11:26 https://issues.openbravo.com/file_download.php?file_id=2218&type=bug

|
|
Issue History |
Date Modified | Username | Field | Change |
2010-02-15 10:35 | networkb | New Issue | |
2010-02-15 10:35 | networkb | Assigned To | => dalsasua |
2010-02-15 10:35 | networkb | OBNetwork customer | => Yes |
2010-02-15 10:40 | rafaroda | Relationship added | related to 0012184 |
2010-02-15 10:41 | rafaroda | Note Added: 0024246 | |
2010-02-15 10:41 | rafaroda | Note Added: 0024247 | |
2010-02-15 10:53 | psarobe | Note Added: 0024250 | |
2010-02-15 10:53 | psarobe | Assigned To | dalsasua => adrianromero |
2010-02-15 10:53 | psarobe | Status | new => feedback |
2010-02-15 11:03 | networkb | Note Added: 0024253 | |
2010-02-15 11:03 | networkb | Status | feedback => new |
2010-02-15 11:03 | networkb | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=29#r29 |
2010-02-15 11:25 | psarobe | Note Added: 0024256 | |
2010-02-15 11:25 | psarobe | Status | new => feedback |
2010-02-15 11:26 | psarobe | File Added: assets amortization.PNG | |
2010-02-23 09:52 | adrianromero | Status | feedback => scheduled |
2010-02-23 09:52 | adrianromero | fix_in_branch | => pi |
2010-02-23 10:19 | psarobe | Note Added: 0024725 | |
2010-02-23 11:29 | adrianromero | Note Added: 0024732 | |
2010-03-08 16:05 | jpabloae | Target Version | 2.50MP14 => 2.50MP15 |
2010-04-07 04:51 | harikrishnan | Assigned To | adrianromero => harikrishnan |
2010-04-07 04:55 | hgbot | Checkin | |
2010-04-07 04:55 | hgbot | Note Added: 0025918 | |
2010-04-07 04:55 | hgbot | Status | scheduled => resolved |
2010-04-07 04:55 | hgbot | Resolution | open => fixed |
2010-04-07 04:55 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2a0f92919112fa4c73a9621fe243274059efcbce [^] |
2010-04-07 04:57 | harikrishnan | Note Added: 0025919 | |
2010-04-07 15:41 | adrianromero | Relationship added | blocks 0012899 |
2010-04-07 15:42 | adrianromero | Status | resolved => new |
2010-04-07 15:42 | adrianromero | Resolution | fixed => open |
2010-04-07 15:44 | adrianromero | Status | new => scheduled |
2010-04-07 15:44 | adrianromero | Note Added: 0025947 | |
2010-04-08 16:15 | harikrishnan | Note Added: 0025982 | |
2010-04-08 16:15 | harikrishnan | Note Added: 0025983 | |
2010-04-08 17:49 | adrianromero | Status | scheduled => resolved |
2010-04-08 17:49 | adrianromero | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/2a0f92919112fa4c73a9621fe243274059efcbce [^] => https://code.openbravo.com/erp/devel/pi/rev/f806ff1950f4e606e3d29b8d60744e4fba7cd952 [^] |
2010-04-08 17:49 | adrianromero | Resolution | open => fixed |
2010-04-15 13:40 | psarobe | Note Added: 0026257 | |
2010-04-15 13:40 | psarobe | Status | resolved => closed |
2010-04-15 13:40 | psarobe | Fixed in Version | => 2.50MP15 |
2010-04-16 00:00 | anonymous | sf_bug_id | 0 => 2987951 |
2010-04-19 21:12 | hudsonbot | Checkin | |
2010-04-19 21:12 | hudsonbot | Note Added: 0026423 | |
2010-05-18 12:12 | gorka_gil | Target Version | 2.50MP15 => 2.50MP17 |
Notes |
|
|
Is this issue duplicated of 0012184? |
|
|
|
Can you copy-paste the steps to reproduce? Thanks. |
|
|
|
Hi,
As you mention the line number is based in the amortization header and not in the asset header.
Clearly this might misunderstand the end user. So the solution must be:
1. Hide this field in that tab (edit/grid mode)
2. Create a feature request for having a new column for this purpose in the corresponding table |
|
|
|
If line is not correct, it must be treated as a bug, not a FR.
It is not needed to hide this column. Only, recalculate properly its value |
|
|
|
Hi,
Maybe I didn't explain well:
1. That column is well calculated so there is not a bug on that. As you mention in the description that column is calculated based in the amortization not in the asset and this is correct. This is a very typical issue rejected several times
2. So to hide the field is the correct solution to avoid mislead the user because we are showing a field that corresponds with another info. Take into account that this table shares different info for different windows
Said this:
3. Why is not enough with the dates? why would you also like to have the line no?
4. So my question was, Is it really needed to have this column? Does it add any value?
Since it is not a bug, that's why it is a feature request in any case
See attach
|
|
|
|
Final solution:
1. Hide that field in that tab. That field is just for the window Amortization tab lines
2. Create a new column that is similar to the above one and calculate the number line based on the asset.
Note: You have to be carefully with the stored procedure A_ASSET_POST |
|
|
|
To explain the solution to myself:
* A_AMORTIZATION_LINE currently has SEQ_NO field properly defined as lines for the header A_AMORTIZATION.
* There is needed to add to A_AMORTIZATION_LINE another SEQ_NO_2 for the header A_ASSET, and define a default value similar to the other sequence field.
* When done in the window A_ASSET there is needed to hide the old SEQ_NO field and show the new SEQ_NO_2 field
* That should be enough. But review the process A_ASSET_POST to verify that the calculation of sequences here is done properly. |
|
|
(0025918)
|
hgbot
|
2010-04-07 04:55
|
|
Repository: erp/devel/pi
Changeset: 2a0f92919112fa4c73a9621fe243274059efcbce
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Wed Apr 07 08:36:12 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/2a0f92919112fa4c73a9621fe243274059efcbce [^]
Fixes Issue 12267: \"Line\" number shown makes no sense in Asset amortization tab.
---
M src-db/database/model/functions/A_ASSET_POST.xml
M src-db/database/model/tables/A_AMORTIZATIONLINE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
|
|
|
|
*New Column is added in the DB for storing the line number for AmortizationLine under the Asset window.
*Follow the steps to reproduce for testing the issue. |
|
|
|
Reopened because it is not properly fixed. It raises also the issue 12899. It is required to fix this issue properly and after verify that issue 12899 does not appear anymore. |
|
|
|
|
|
|
|
|
|
|
|
|
|