Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014521
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupmajoralways2010-09-13 09:582010-09-22 00:00
ReporterdalsasuaView Statuspublic 
Assigned Todalsasua 
PriorityurgentResolutionfixedFixed in Version2.50MP22
StatusclosedFix in branchFixed in SCM revision08a682423cca
ProjectionnoneETAnoneTarget Versionpi
OSLinux 32 bitDatabaseOracleJava version1.6.0_14
OS VersionUbuntu 9.04Database version11.1.0.6.0 SEAnt version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014521: Initial Client Setup creates accounting schema with element "Product" Mandatory

DescriptionInitial Client Setup creates accounting schema with element "Product" Mandatory
Steps To ReproduceDo 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
Proposed Solutiondiff --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
+}
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0030971)
hgbot (developer)
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 (developer)
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 (manager)
2010-09-21 11:32

Tested working fine:

I can create an account combination from the corresponding window

- Issue History
Date Modified Username Field Change
2010-09-13 09:58 dalsasua New Issue
2010-09-13 09:58 dalsasua Assigned To => dalsasua
2010-09-13 10:00 hgbot Checkin
2010-09-13 10:00 hgbot Note Added: 0030971
2010-09-13 10:00 hgbot Status new => resolved
2010-09-13 10:00 hgbot Resolution open => fixed
2010-09-13 10:00 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/08a682423cca507e24d036dedd573a2807530577 [^]
2010-09-13 15:54 hudsonbot Checkin
2010-09-13 15:54 hudsonbot Note Added: 0030995
2010-09-21 11:32 psarobe Note Added: 0031263
2010-09-21 11:32 psarobe Status resolved => closed
2010-09-21 11:32 psarobe Fixed in Version => 2.50MP22
2010-09-22 00:00 anonymous sf_bug_id 0 => 3072974


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker