Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014521Openbravo ERP01. General setuppublic2010-09-13 09:582010-09-22 00:00
dalsasua 
dalsasua 
urgentmajoralways
closedfixed 
20Ubuntu 9.04
 
pi2.50MP22 
Core
No
0014521: Initial Client Setup creates accounting schema with element "Product" Mandatory
Initial Client Setup creates accounting schema with element "Product" Mandatory
Do Initial Client Setup
Change role to new client
Create a new account combination
Realize that you need to provide a product; otherwise, the account combination cannot be created
diff --git a/src/org/openbravo/erpCommon/businessUtility/COAUtility.java b/src/org/openbravo/erpCommon/businessUtility/COAUtility.java
--- a/src/org/openbravo/erpCommon/businessUtility/COAUtility.java
+++ b/src/org/openbravo/erpCommon/businessUtility/COAUtility.java
@@ -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
+}
No tags attached.
Issue History
2010-09-13 09:58dalsasuaNew Issue
2010-09-13 09:58dalsasuaAssigned To => dalsasua
2010-09-13 10:00hgbotCheckin
2010-09-13 10:00hgbotNote Added: 0030971
2010-09-13 10:00hgbotStatusnew => resolved
2010-09-13 10:00hgbotResolutionopen => fixed
2010-09-13 10:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/08a682423cca507e24d036dedd573a2807530577 [^]
2010-09-13 15:54hudsonbotCheckin
2010-09-13 15:54hudsonbotNote Added: 0030995
2010-09-21 11:32psarobeNote Added: 0031263
2010-09-21 11:32psarobeStatusresolved => closed
2010-09-21 11:32psarobeFixed in Version => 2.50MP22
2010-09-22 00:00anonymoussf_bug_id0 => 3072974

Notes
(0030971)
hgbot   
2010-09-13 10:00   
Repository: erp/devel/pi
Changeset: 08a682423cca507e24d036dedd573a2807530577
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Mon Sep 13 09:59:12 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/08a682423cca507e24d036dedd573a2807530577 [^]

Fixes issue 14521
Initial Client Setup creates accounting schema with element Product Mandatory

---
M src/org/openbravo/erpCommon/businessUtility/COAUtility.java
---
(0030995)
hudsonbot   
2010-09-13 15:54   
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/08a682423cca [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/20633aad1ee9 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18372.obx [^]
(0031263)
psarobe   
2010-09-21 11:32   
Tested working fine:

I can create an account combination from the corresponding window