details: /erp/devel/pi/rev/44841807a54d
changeset: 8589:44841807a54d
user: David Alsasua <david.alsasua <at> openbravo.com>
date: Fri Oct 22 18:15:12 2010 +0200
summary: Fixes issue 15002 Initial Client Setup duplicates ad_clientmodule
entries
diffstat:
src/org/openbravo/erpCommon/businessUtility/InitialClientSetup.java | 16
+---------
1 files changed, 1 insertions(+), 15 deletions(-)
diffs (31 lines):
diff -r f4f7acfab40b -r 44841807a54d
src/org/openbravo/erpCommon/businessUtility/InitialClientSetup.java
--- a/src/org/openbravo/erpCommon/businessUtility/InitialClientSetup.java
Fri Oct 22 15:18:21 2010 +0530
+++ b/src/org/openbravo/erpCommon/businessUtility/InitialClientSetup.java
Fri Oct 22 18:15:12 2010 +0200
@@ -670,20 +670,6 @@
elements = iResult.getUpdatedObjects();
logEvent(elements.size() + " @RowsUpdated@");
}
- ADClientModule clientModule = null;
- try {
- clientModule = InitialSetupUtility.insertClientModule(client, module);
- } catch (Exception e) {
- return logErrorAndRollback(
- "@CreateReferenceDataFailed@",
- "insertReferenceDataModules() - Exception while updating version
installed of the accounting module "
- + module.getName(), e);
- }
- if (clientModule == null)
- return logErrorAndRollback(
- "@CreateReferenceDataFailed@",
- "insertReferenceDataModules() - Exception while updating version
installed of the accounting module "
- + module.getName());
}
return obeResult;
}
@@ -752,4 +738,4 @@
return logErrorAndRollback(strMessage, strLogError, null);
}
-}
\ No newline at end of file
+}
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits