Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015186
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2010-11-12 14:142010-12-21 00:00
ReportermalsasuaView Statuspublic 
Assigned Todalsasua 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisiona4d188a307e6
ProjectionnoneETAnoneTarget Version2.50MP25
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product Version2.50MP23SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015186: accounts displayed in combo are not filtered by schema

Descriptionin Financial Management || Accounting || Setup || Account Tree || Element >> Element Value >> Customized Elements
the Accounts displayed in account combo are not filtered by schema
Steps To Reproduce. create two elements (A, B) in
 Financial Management || Accounting || Setup || Account Tree || Element
. create elements value in the two schemas created
   in A -> element value a1
   in B -> element value b1

. go to Financial Management || Accounting || Setup || Account Tree || Element >> Element Value >> Customized Elements of element A and element value a1
 . in account combo are displayed elements value a1 and b1
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0032646)
tds-peter (reporter)
2010-11-16 21:58

Some additional information - this issue was originally seen in our client GFR Pharma. They have five organizations, one of which is '*'. So '*' is the parent and the other are siblings to each other.
Even if you select a specific org on this customized elements screen, you will always see the account for the selected org and the same account for '*'. Since the schema is not displayed in the dropdown list, you merely see two 1000 - Assets, two 2000 - Liabilities and so on.

The problem is even worse if the client wants financial reports for the parent Organization (*), as the list of elements on the Customized Element screen will list all five of each account (five 1000-Asset, five 2000-liabilities and so on). If you select an account from the wrong org, you'll get Stack Overflow exception trying to run the Balance Sheet, as well.

If you could either scope the list specifically to the selected org OR add the related schema in the display in the listbox, this problem should be addressed.
(0032795)
hgbot (developer)
2010-11-23 16:31

Repository: erp/devel/pi
Changeset: a4d188a307e6ff75c0157409dd19d4fafcddfc5f
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Nov 23 16:29:53 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a4d188a307e6ff75c0157409dd19d4fafcddfc5f [^]

Fixes issue 15186: accounts displayed in combo are not filtered by schema
Added a validation that filters by the element to which the element value belongs

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_VAL_RULE.xml
---
(0032938)
hudsonbot (developer)
2010-11-30 17:52

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/a4d188a307e6 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7c27b4b566df [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19017.obx [^]
(0033289)
psarobe (manager)
2010-12-20 13:31

Tested working fine

- Issue History
Date Modified Username Field Change
2010-11-12 14:14 malsasua New Issue
2010-11-12 14:14 malsasua Assigned To => dalsasua
2010-11-16 21:58 tds-peter Note Added: 0032646
2010-11-17 13:20 adrianromero Target Version 2.50MP24 => 2.50MP25
2010-11-23 15:41 dalsasua Status new => scheduled
2010-11-23 15:41 dalsasua fix_in_branch => pi
2010-11-23 16:31 hgbot Checkin
2010-11-23 16:31 hgbot Note Added: 0032795
2010-11-23 16:31 hgbot Status scheduled => resolved
2010-11-23 16:31 hgbot Resolution open => fixed
2010-11-23 16:31 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a4d188a307e6ff75c0157409dd19d4fafcddfc5f [^]
2010-11-30 17:52 hudsonbot Checkin
2010-11-30 17:52 hudsonbot Note Added: 0032938
2010-12-20 13:31 psarobe Note Added: 0033289
2010-12-20 13:31 psarobe Status resolved => closed
2010-12-21 00:00 anonymous sf_bug_id 0 => 3141008


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker