details:   /erp/devel/main/rev/08a682423cca
changeset: 8383:08a682423cca
user:      David Alsasua <david.alsasua <at> openbravo.com>
date:      Mon Sep 13 09:59:12 2010 +0200
summary:   Fixes issue 14521
Initial Client Setup creates accounting schema with element Product Mandatory

details:   /erp/devel/main/rev/20633aad1ee9
changeset: 8384:20633aad1ee9
user:      RM packaging bot <staff.rm <at> openbravo.com>
date:      Mon Sep 13 13:54:24 2010 +0000
summary:   CI: promote changesets from pi to main

diffstat:

 src-db/database/sourcedata/AD_MODULE.xml                    |  2 +-
 src/org/openbravo/erpCommon/businessUtility/COAUtility.java |  4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 4c5b4bd34325 -r 20633aad1ee9 src-db/database/sourcedata/AD_MODULE.xml
--- a/src-db/database/sourcedata/AD_MODULE.xml  Mon Sep 13 08:11:39 2010 +0200
+++ b/src-db/database/sourcedata/AD_MODULE.xml  Mon Sep 13 13:54:24 2010 +0000
@@ -6,7 +6,7 @@
 <!--0-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--0-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--0-->  <NAME><![CDATA[core]]></NAME>
-<!--0-->  <VERSION><![CDATA[2.50.18350]]></VERSION>
+<!--0-->  <VERSION><![CDATA[2.50.18383]]></VERSION>
 <!--0-->  <DESCRIPTION><![CDATA[Core module is the base one]]></DESCRIPTION>
 <!--0-->  <HELP><![CDATA[Core module is the base one, all developments in core 
are included as part of the standard Openbravo ERP.]]></HELP>
 <!--0-->  <URL><![CDATA[www.openbravo.com]]></URL>
diff -r 4c5b4bd34325 -r 20633aad1ee9 
src/org/openbravo/erpCommon/businessUtility/COAUtility.java
--- a/src/org/openbravo/erpCommon/businessUtility/COAUtility.java       Mon Sep 
13 08:11:39 2010 +0200
+++ b/src/org/openbravo/erpCommon/businessUtility/COAUtility.java       Mon Sep 
13 13:54:24 2010 +0000
@@ -304,7 +304,7 @@
       if (strElement.equals(ACCT_SCHEMA_ELEMENT_PRODUCT) && hasProduct) {
         try {
           productAcctSchemaElement = 
InitialSetupUtility.insertAcctSchemaElement(acctSchema,
-              organization, listElement, 30L, true, false, null, element);
+              organization, listElement, 30L, false, false, null, element);
         } catch (Exception e) {
           return logError(
               "@CreateAccountingFailed@",
@@ -821,4 +821,4 @@
     // strResult = filterArray(strResult);
     return strResult;
   }
-}
\ No newline at end of file
+}

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to