Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015695Openbravo ERP02. Master data managementpublic2011-01-18 17:572011-05-24 10:57
dalsasua 
dalsasua 
immediatemajoralways
closedfixed 
20Ubuntu 9.04
 
 
Core
No
0015695: Initial Organization Setup process does always insert reference data belonging to "*" Organization
Initial Organization Setup process does always insert reference data belonging to "*" Organization
Run initial client setup and select none of the reference data modules (not even core)
Login as new client admin
Run initial org setup and select core dataset
Go to Document Definition window
Check that all the documents are defined at "*" level
--- a/src/org/openbravo/erpCommon/businessUtility/InitialOrgSetup.java
+++ b/src/org/openbravo/erpCommon/businessUtility/InitialOrgSetup.java
@@ -85,7 +85,8 @@
    * @param strOrgUser
    * Name of the user that will be created for the organization
    * @param strOrgType
- * Organization Type code, according to: 0-Organization, 1-Legal with accounting, 2-Generic, 3-Legal without accounting.
+ * Organization Type code, according to: 0-Organization, 1-Legal with accounting,
+ * 2-Generic, 3-Legal without accounting.
    * @param strParentOrg
    * New organization will belong to the provided one, in the organization tree
    * @param strcLocationId
@@ -349,7 +350,7 @@
 
         ImportResult iResult;
         try {
- iResult = InitialSetupUtility.insertReferenceData(dataSet, client, null);
+ iResult = InitialSetupUtility.insertReferenceData(dataSet, client, org);
         } catch (Exception e) {
           return logErrorAndRollback("@CreateReferenceDataFailed@",
               "insertReferenceDataModules() - Exception ocurred while obtaining datasets for module "
closingMay2011
depends on backport 0015696 closed dalsasua Initial Organization Setup process does always insert reference data belonging to "*" Organization 
Issue History
2011-01-18 17:57dalsasuaNew Issue
2011-01-18 17:57dalsasuaAssigned To => dalsasua
2011-01-18 17:57dalsasuaModules => Core
2011-01-18 17:57dalsasuaStatusnew => scheduled
2011-01-18 17:57dalsasuafix_in_branch => pi
2011-01-18 17:57dalsasuaPrioritynormal => immediate
2011-01-18 17:57dalsasuafix_in_branchpi =>
2011-01-18 17:59hgbotCheckin
2011-01-18 17:59hgbotNote Added: 0033728
2011-01-18 17:59hgbotStatusscheduled => resolved
2011-01-18 17:59hgbotResolutionopen => fixed
2011-01-18 17:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/88008810ef76db41272ba2486de2fda59632739c [^]
2011-01-19 13:26hgbotCheckin
2011-01-19 13:26hgbotNote Added: 0033769
2011-01-19 13:26hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/88008810ef76db41272ba2486de2fda59632739c [^] => http://code.openbravo.com/erp/devel/pi/rev/516a8b8fe061c3df9f5fbfd7b3fefcef61c650e6 [^]
2011-01-19 13:38dalsasuaStatusresolved => closed
2011-01-19 13:38dalsasuaFixed in Version => 2.50MP26
2011-01-19 13:39dalsasuaStatusclosed => new
2011-01-19 13:39dalsasuaResolutionfixed => open
2011-01-19 13:39dalsasuaFixed in Version2.50MP26 =>
2011-01-19 13:39dalsasuaStatusnew => scheduled
2011-01-19 13:39dalsasuafix_in_branch => pi
2011-01-19 13:39dalsasuaStatusscheduled => resolved
2011-01-19 13:39dalsasuaResolutionopen => fixed
2011-05-24 10:03dalsasuaTag Attached: closingMay2011
2011-05-24 10:57dalsasuaStatusresolved => closed

Notes
(0033728)
hgbot   
2011-01-18 17:59   
Repository: erp/devel/pi
Changeset: 88008810ef76db41272ba2486de2fda59632739c
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Jan 18 17:58:44 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/88008810ef76db41272ba2486de2fda59632739c [^]

Fixes issue 15695: Initial Organization Setup process
does always insert reference data belonging to "*" Organization.
Now it uses the correct organization when importing reference data

---
M src/org/openbravo/erpCommon/businessUtility/InitialOrgSetup.java
---
(0033769)
hgbot   
2011-01-19 13:26   
Repository: erp/devel/pi
Changeset: 516a8b8fe061c3df9f5fbfd7b3fefcef61c650e6
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Wed Jan 19 13:23:37 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/516a8b8fe061c3df9f5fbfd7b3fefcef61c650e6 [^]

Fixes issue 15695: Initial Organization Setup
process does always insert reference data belonging to "*" Organization

---
M src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
---