Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011178Openbravo ERP09. Financial managementpublic2009-10-29 16:192012-04-21 14:24
mirurita 
vmromanos 
normalminoralways
closedfixed 
20rPath Linux
2.50MP5 
 
Core
No
0011178: Create amortization process always shows a warning message (without information) when an error occurs.
Create amortization process raised a warning message without cause information when the process fails. (view attached image).
- Go to Financial Management || Assets || Assets
- Fill the fields (view the attached image)
- Run "Create amortization" process
VMA-Reviewed
png Create amortization.png (66,115) 2009-10-29 16:19
https://issues.openbravo.com/file_download.php?file_id=1896&type=bug
png
Issue History
2009-10-29 16:19miruritaNew Issue
2009-10-29 16:19miruritaAssigned To => rafaroda
2009-10-29 16:19miruritaFile Added: Create amortization.png
2010-02-11 18:34rafarodaAssigned Torafaroda => dalsasua
2011-07-20 18:18dalsasuaAssigned Todalsasua => jonalegriaesarte
2012-04-03 12:20jonalegriaesarteAssigned Tojonalegriaesarte => vmromanos
2012-04-10 15:17vmromanosTag Attached: VMA-Reviewed
2012-04-13 14:42vmromanosNote Added: 0047571
2012-04-13 14:44vmromanosStatusnew => scheduled
2012-04-13 14:44vmromanosNote Added: 0047572
2012-04-13 14:44vmromanosfix_in_branch => pi
2012-04-19 18:08hgbotCheckin
2012-04-19 18:08hgbotNote Added: 0047760
2012-04-19 18:08hgbotStatusscheduled => resolved
2012-04-19 18:08hgbotResolutionopen => fixed
2012-04-19 18:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/01ef6149bc2441fcc77a878d51dac9414533e3e6 [^]
2012-04-19 18:11miruritaNote Added: 0047762
2012-04-19 18:11miruritaStatusresolved => closed
2012-04-21 14:24hudsonbotCheckin
2012-04-21 14:24hudsonbotNote Added: 0047848

Notes
(0047571)
vmromanos   
2012-04-13 14:42   
The bug can't be reproducible anymore.
The cause of this bug was to leave empty any of the following fields:
- Asset value
- Residual Asset Value
- Depreciation Amt

Currently the system shows an error in case these values are empty, however the error message is not good enough, so we will change it by another one more descriptive.
(0047572)
vmromanos   
2012-04-13 14:44   
No regression risk.

Test plan:
- Go to Financial Management || Assets || Assets
- Fill the fields in a similar way as the screenshot
- Ensure the following fields are empty:
Asset value
Residual Asset Value
Depreciation Amt
- Run "Create amortization" process
- Verify an error message is displayed
- Read the error and try follow the steps to fix the problem
- Run "Create amortization" process again
- Verify no error message is displayed
(0047760)
hgbot   
2012-04-19 18:08   
Repository: erp/devel/pi
Changeset: 01ef6149bc2441fcc77a878d51dac9414533e3e6
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Fri Apr 13 14:31:44 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/01ef6149bc2441fcc77a878d51dac9414533e3e6 [^]

Fixed bug 11178: Amortization process, wrong message

Error message in Amortization process has been improved to provide
better information for the user

---
M src-db/database/model/functions/A_ASSET_POST.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0047762)
mirurita   
2012-04-19 18:11   
code review + testing OK
(0047848)
hudsonbot   
2012-04-21 14:24   
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/2eb57286c1fc [^]

Maturity status: Test