Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015696Openbravo ERP02. Master data managementpublic2011-01-18 17:572011-01-19 13:39
dalsasua 
dalsasua 
immediatemajoralways
closedfixed 
20Ubuntu 9.04
 
2.50MP26 
Core
No
0015696: 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 "
No tags attached.
blocks defect 0015695 closed dalsasua Initial Organization Setup process does always insert reference data belonging to "*" Organization 
Issue History
2011-01-18 17:57dalsasuaTypedefect => backport
2011-01-18 17:57dalsasuafix_in_branch => 2.50
2011-01-18 17:57dalsasuaPrioritynormal => immediate
2011-01-18 18:01hgbotCheckin
2011-01-18 18:01hgbotNote Added: 0033729
2011-01-18 18:01hgbotStatusscheduled => resolved
2011-01-18 18:01hgbotResolutionopen => fixed
2011-01-18 18:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/339c3ecd26686c1387f54e2b12913cf88d6ccd01 [^]
2011-01-19 13:28hgbotCheckin
2011-01-19 13:28hgbotNote Added: 0033770
2011-01-19 13:28hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/stable/2.50/rev/339c3ecd26686c1387f54e2b12913cf88d6ccd01 [^] => http://code.openbravo.com/erp/stable/2.50/rev/c2b161e5272d47381d513e3c323a7ee3639c4e66 [^]
2011-01-19 13:37dalsasuaStatusresolved => closed
2011-01-19 13:38dalsasuaStatusclosed => new
2011-01-19 13:38dalsasuaResolutionfixed => open
2011-01-19 13:38dalsasuaStatusnew => scheduled
2011-01-19 13:38dalsasuafix_in_branch2.50 => pi
2011-01-19 13:39dalsasuaStatusscheduled => resolved
2011-01-19 13:39dalsasuaFixed in Version => 2.50MP26
2011-01-19 13:39dalsasuaResolutionopen => fixed
2011-01-19 13:39dalsasuaStatusresolved => closed

Notes
(0033729)
hgbot   
2011-01-18 18:01   
Repository: erp/stable/2.50
Changeset: 339c3ecd26686c1387f54e2b12913cf88d6ccd01
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Jan 18 18:00:37 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/339c3ecd26686c1387f54e2b12913cf88d6ccd01 [^]

Fixes issue 15696. Now it uses correct organization
to import reference data elements

---
M src/org/openbravo/erpCommon/businessUtility/InitialOrgSetup.java
---
(0033770)
hgbot   
2011-01-19 13:28   
Repository: erp/stable/2.50
Changeset: c2b161e5272d47381d513e3c323a7ee3639c4e66
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Wed Jan 19 13:28:07 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/c2b161e5272d47381d513e3c323a7ee3639c4e66 [^]

Fixes issue 15696. Now saves in ad_orgmodule correctly

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