Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017338Openbravo ERP09. Financial managementpublic2011-05-24 15:112011-06-22 13:20
psanjuan 
mirurita 
urgentmajoralways
closedfixed 
20Ubuntu 8.04.1
 
3.0MP1 
Core
No
0017338: ugly error message while removing gain/loss bank accounts in the accounting configuration window.
Ugly error message while removing gain/loss bank accounts in the accounting configuration window. Those accounts seems not to be mandatory (not in yellow). In case end-user removes it, an ugly message is shown.
Same behaviour with different error message in both Oracle and postgres
Navigate to Financial Account window.
Choose Banco de EspaƱa - Cuenta 1, by example
Go to Accounting Configuration.
Grid view.
Try to remove the account "Bank Revaluation Gain Account" and left it empty by using the red cross.
Save
There is no an error shown but the record can not be saved. See "Grid" image.

You can only see the error while editing in Form view.
Do the same in Form view.
Save.
Below error are shown.
See images: "Postgres" and "Oracle".
No tags attached.
png grid.png (122,087) 2011-05-24 15:18
https://issues.openbravo.com/file_download.php?file_id=4088&type=bug
png

png postgres.png (110,677) 2011-05-24 15:18
https://issues.openbravo.com/file_download.php?file_id=4089&type=bug
png

png Oracle.png (134,454) 2011-05-24 15:18
https://issues.openbravo.com/file_download.php?file_id=4090&type=bug
png
Issue History
2011-05-24 15:11psanjuanNew Issue
2011-05-24 15:11psanjuanAssigned To => dalsasua
2011-05-24 15:11psanjuanModules => Core
2011-05-24 15:13psanjuanSummaryNot possible either to delete a non mandatory account or to add a new record in the Accounting Configuration of the Financial Ac => Not possible either to delete a non mandatory account or to add a new record in the Accounting Configuration tab
2011-05-24 15:13psanjuanDescription Updatedbug_revision_view_page.php?rev_id=2096#r2096
2011-05-24 15:14psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=2098#r2098
2011-05-24 15:18psanjuanFile Added: grid.png
2011-05-24 15:18psanjuanFile Added: postgres.png
2011-05-24 15:18psanjuanFile Added: Oracle.png
2011-05-24 16:03psanjuanAssigned Todalsasua => adrianromero
2011-05-24 16:03psanjuanTarget Version => 3.0MP0
2011-05-24 16:21psanjuanAssigned Toadrianromero => eduardo_Argal
2011-05-24 16:21psanjuanTarget Version3.0MP0 => 3.0MP1
2011-05-24 16:21psanjuanSummaryNot possible either to delete a non mandatory account or to add a new record in the Accounting Configuration tab => ugly error message while removing gain/loss bank accounts in the accounting configuration window.
2011-05-24 16:21psanjuanDescription Updatedbug_revision_view_page.php?rev_id=2101#r2101
2011-06-20 12:36miruritaAssigned Toeduardo_Argal => mirurita
2011-06-20 12:37hgbotCheckin
2011-06-20 12:37hgbotNote Added: 0038394
2011-06-20 12:37hgbotStatusnew => resolved
2011-06-20 12:37hgbotResolutionopen => fixed
2011-06-20 12:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cdf68ea047724c1558b93428e7260906deff47f6 [^]
2011-06-22 11:44hudsonbotCheckin
2011-06-22 11:44hudsonbotNote Added: 0038470
2011-06-22 13:20psanjuanNote Added: 0038481
2011-06-22 13:20psanjuanStatusresolved => closed

Notes
(0038394)
hgbot   
2011-06-20 12:37   
Repository: erp/devel/pi
Changeset: cdf68ea047724c1558b93428e7260906deff47f6
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Mon Jun 20 12:36:17 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cdf68ea047724c1558b93428e7260906deff47f6 [^]

Fixes issue 17338: improve error message.
Ugly error message while removing gain/loss bank accounts in the accounting configuration window.

---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/triggers/APRM_FIN_FINACC_ACCT_CHECK_TRG.xml
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml
---
(0038470)
hudsonbot   
2011-06-22 11: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/abb438586c0e [^]

Maturity status: Test
(0038481)
psanjuan   
2011-06-22 13:20   
fixed and working