Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013117Openbravo ERP09. Financial managementpublic2010-04-26 12:062010-05-19 00:01
networkb 
dalsasua 
immediatemajoralways
closedfixed 
5
2.50MP14 
2.50MP17 
Core
No
0013117: Uncorrect Account in Account Combination
If a new account combination is created, using accounts from an Organization (LA), its account (in Account combination window) is uncorrect.

Instead of organization name, appears, **
Go to General Setup > Enterprise > Initial Organization Setup.
***Create a new record*** <- Not possible to create new record!
Enter a name and user, and as type, select "legal with accounting", as parent organization, select '*', select "Include Accounting", and select one COA from datasets.
Also, select BP, Product and Project dimensions.
Press OK.
Go to General Setup > Enterprise > Organization, and search the new one.
Check "Allow period control" and select a calendar.
Finally, press "Set as ready".
Go to Financial Management > Accounting > Transactions > GL Journal.
Create a new record for new organization.
go to Header tab.
Create a new record for new organization.
Go to Lines tab, and create a new record.
Open Accounting combination selector.
Select new organization, and open Account selector.
As Accounting Schema, select the one for the organization, and as value, enter 5720.
Press Search, and select the one proposed.
In Accounting combination selector, press Search.
Nothing should appear.
Press Save.
Select the new record, and press OK.
Save it.
Now, press on Accounting combination link.
See its account.
No tags attached.
Issue History
2010-04-26 12:06networkbNew Issue
2010-04-26 12:06networkbAssigned To => dalsasua
2010-04-26 16:20dalsasuaStatusnew => scheduled
2010-04-26 16:20dalsasuafix_in_branch => pi
2010-04-26 22:28dalsasuafix_in_branchpi =>
2010-04-26 22:28dalsasuaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=287#r287
2010-04-26 22:30dalsasuaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=288#r288
2010-04-26 22:42dalsasuaNote Added: 0026710
2010-04-27 00:46hgbotCheckin
2010-04-27 00:46hgbotNote Added: 0026711
2010-04-27 00:46hgbotStatusscheduled => resolved
2010-04-27 00:46hgbotResolutionopen => fixed
2010-04-27 00:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6045df3301557610211373d634d53d29746605eb [^]
2010-05-05 17:26networkbNote Added: 0026961
2010-05-11 18:19jpabloaeTarget Version2.50MP16 => 2.50MP17
2010-05-14 15:28hudsonbotCheckin
2010-05-14 15:28hudsonbotNote Added: 0027300
2010-05-18 15:17sureshbabuNote Added: 0027434
2010-05-18 15:17sureshbabuStatusresolved => closed
2010-05-19 00:01anonymoussf_bug_id0 => 3003685

Notes
(0026710)
dalsasua   
2010-04-26 22:42   
Followed this steps:

Go to General Setup > Enterprise > Initial Organization Setup. -> OK
Create a new record -> NO SENSE!!
Enter a name and user, and as type, select "legal with accounting", as parent organization, select '*', select "Include Accounting", and select one COA from datasets. -> Ok. Used CoA PYMES for Spain
Also, select BP, Product and Project dimensions. -> Ok
Press OK. -> Ok
Go to General Setup > Enterprise > Organization, and search the new one. -> Ok
Check "Allow period control" and select a calendar. -> Chosen Small Bazaar Calendar. Ok
Finally, press "Set as ready". -> Ok
Go to Financial Management > Accounting > Transactions > GL Journal. -> Ok
Create a new record for new organization. -> Ok
go to Header tab. -> Ok
Create a new record for new organization. -> As no comment here, default accounting schema is saved: SmallBazaar (different from the newly created one).
Go to Lines tab, and create a new record. -> Ok
Open Accounting combination selector. -> Ok
Select new organization, and open Account selector. -> Ok
As Accounting Schema, select the one for the organization, and as value, enter 5720. -> Here, accounting schema provided by default is SmallBazaar (as chosen in header). The accounting schema field has got a grey background, but systems allows me to change accounting schema to the newly created one.
Press Search, and select the one proposed. -> Ok
In Accounting combination selector, press Search. -> Then, the account of the SmallBazaar accounting schema with same value than the one searched in subaccount selector is chosen, as accounting schema combo is not available here, and is inherited the one set in the header as session variable.
Nothing should appear. -> In my case yes, the account existed already in the SmallBazaar schema.
Press Save. -> Ok
Select the new record, and press OK. -> Ok
Save it. -> Ok
Now, press on Accounting combination link. -> Ok
See its account. -> Account with same value of the one searched in the subaccount selector, but belonging to the SmallBazaar schema.

I will fix subaccount selector, so accounting schema cannot be modified, as per me is the only issue here.
(0026711)
hgbot   
2010-04-27 00:46   
Repository: erp/devel/pi
Changeset: 6045df3301557610211373d634d53d29746605eb
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Apr 27 00:44:50 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6045df3301557610211373d634d53d29746605eb [^]

Fixes issue 13117: Uncorrect Account in Account Combination
Replaced combobox with textbox, as it is a non-editable field, for
accounting schema in subaccount selector

---
M src/org/openbravo/erpCommon/info/AccountElementValue.html
M src/org/openbravo/erpCommon/info/AccountElementValue.java
M src/org/openbravo/erpCommon/info/AccountElementValue.xml
M src/org/openbravo/erpCommon/info/AccountElementValue_data.xsql
---
(0026961)
networkb   
2010-05-05 17:26   
The problem still persists:

In accounting combination selector, open account selector (for new organization Accounting Schema), and select one account.
Going back to accounting combination selector, select main organization.
Press Search (no results) and then press Save.

A new wrong combination is created
(0027300)
hudsonbot   
2010-05-14 15:28   
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/6045df330155 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/36f76c8d7193 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17198.obx [^]
(0027434)
sureshbabu   
2010-05-18 15:17   
verified, now when i go back to accounting combination selector, and then when i select main organization. Press Search (no results) and then press Save.
A new wrong combination not created