Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029637Openbravo ERP09. Financial managementpublic2015-04-20 16:552015-05-07 22:17
maite 
jorge-garcia 
urgentmajoralways
closedfixed 
5
 
3.0PR15Q3 
Sandrahuguet
Core
No
0029637: "Account tree" and "Account element" fields should not be shown when setting User1 or User2 dimension in General Ledger Conf.
"Account tree" and "Account element" fields should not be shown when setting User1 or User2 dimension in General Ledger Configuration window
1. Access General Ledger Configuration window and go to Dimensions tab
2. Create new record setting type "User 1"
3. Realize that Account Tree and Account Element fields are displayed when it should not

In case value is defined for this fields you could be affected by 28978 issue, which is generating erroneous Accounting Combination data
No tags attached.
related to defect 0028978 closed vmromanos Duplicated account combinations when inserting an element value in an account tree referenced twice from a General Ledger Dimens 
Issue History
2015-04-20 16:55maiteNew Issue
2015-04-20 16:55maiteAssigned To => Triage Finance
2015-04-20 16:55maiteModules => Core
2015-04-20 16:55maiteResolution time => 1432418400
2015-04-20 16:55maiteTriggers an Emergency Pack => No
2015-04-20 16:55maiteRelationship addedrelated to 0028978
2015-04-20 16:56maiteIssue Monitored: networkb
2015-04-21 10:30jorge-garciaStatusnew => scheduled
2015-04-21 10:30jorge-garciaAssigned ToTriage Finance => jorge-garcia
2015-04-21 10:31jorge-garciaNote Added: 0076644
2015-05-04 18:13hgbotCheckin
2015-05-04 18:13hgbotNote Added: 0076964
2015-05-04 18:13hgbotStatusscheduled => resolved
2015-05-04 18:13hgbotResolutionopen => fixed
2015-05-04 18:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/237fe3795fb438dea9670ca6dabd4220826ba2eb [^]
2015-05-04 18:13hgbotCheckin
2015-05-04 18:13hgbotNote Added: 0076965
2015-05-04 18:17SandrahuguetReview Assigned To => Sandrahuguet
2015-05-04 18:17SandrahuguetNote Added: 0076966
2015-05-04 18:17SandrahuguetStatusresolved => closed
2015-05-04 18:17SandrahuguetFixed in Version => 3.0PR15Q3
2015-05-07 22:17hudsonbotCheckin
2015-05-07 22:17hudsonbotNote Added: 0077202
2015-05-07 22:17hudsonbotCheckin
2015-05-07 22:17hudsonbotNote Added: 0077203

Notes
(0076644)
jorge-garcia   
2015-04-21 10:31   
Test Plan:

Access General Ledger Configuration window and go to Dimensions tab
 Create new record setting type "User 1"
  Realize that Account Tree and Account Element fields aren't displayed
 Change the record setting type to "User 2"
  Realize that Account Tree and Account Element fields aren't displayed
(0076964)
hgbot   
2015-05-04 18:13   
Repository: erp/devel/pi
Changeset: 237fe3795fb438dea9670ca6dabd4220826ba2eb
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Apr 21 10:25:34 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/237fe3795fb438dea9670ca6dabd4220826ba2eb [^]

Fixed issue 29637: Account fields should not be shown in some cases in G/L Conf

"Account tree" and "Account element" fields should not be shown when setting
User1 or User2 dimension in General Ledger Configuration window.

The solution is to change the Display Logic for those fields, and delete the
element types U1 and U2.

Now, when User 1 / User 2 is selected, the Account Tree and the
Account Element aren't displayed.

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0076965)
hgbot   
2015-05-04 18:13   
Repository: erp/devel/pi
Changeset: fa88cad0c96646cfa8a62ae90a3d8f4b273dd70b
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Mon May 04 18:12:27 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fa88cad0c96646cfa8a62ae90a3d8f4b273dd70b [^]

Related to issue 29637

Added read only logic because in grid mode is possible to add
"Account tree" and "Account element" to all dimensions.
Added distinct in C_ELEMENTVALUE_TRG to avoid duplicates values
in account combinations.

---
M src-db/database/model/triggers/C_ELEMENTVALUE_TRG.xml
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0076966)
Sandrahuguet   
2015-05-04 18:17   
Code review + testing ok
(0077202)
hudsonbot   
2015-05-07 22:17   
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/a1817f84bd8b [^]
Maturity status: Test
(0077203)
hudsonbot   
2015-05-07 22:17   
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/a1817f84bd8b [^]
Maturity status: Test