Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementmajoralways2015-10-01 18:282015-10-05 17:00
ReporteregoitzView Statuspublic 
Assigned Tovmromanos 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision25e89d6b7afa
ProjectionnoneETAnoneTarget Version3.0PR15Q3.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Todmiguelez
Web browser
Regression levelProduction - QA Approved
Regression date2015-05-07
Regression introduced in release3.0PR15Q3
Regression introduced by commit [^]
Triggers an Emergency PackNo

0031022: ON the sales order window when selecting a organization that has not got document types some fields are hidden

DescriptionWhen creating a new sales order, if the org selected on the combo has not got applicable document types, the organization and partner fields are not shown and the window is not usable until you close it and open again.
Steps To Reproduce-Deactivate all the document types that applies to sales order window
-go to sales order window
-click on new
*See that the organization and partner fields are not shown
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0031015 closedvmromanos ON the sales order window when selecting a organization that has not got document types some fields are hidden 

-  Notes
hgbot (developer)
2015-10-05 17:00

Repository: erp/backports/3.0PR15Q3.2
Changeset: 25e89d6b7afaf7e39229f8a9be8e64aa2f42fa57
Author: Víctor Martínez Romanos <victor.martinez <at>>
Date: Fri Oct 02 12:39:49 2015 +0200
URL: [^]

Fixed bug 31022: hidden fields in several windows related to acct. dimensions

The display logic of some fields driven by the accounting dimension display logic utility was not working fine when the auxiliary input "DOCBASETYPE" (used by to calculate the acct. dimension display logic) was null.
This auxiliary input has a hardcoded value in some windows, however in other windows it is gotten from the DB using the selected document type. In the latter scenario, when the document type field is blank, the "DOCBASETYPE" auxiliary input was null, so the system was unable to detect the right configuration, thus hiding the fields.

The regression is caused by issue 0029767. The business partner and organization fields were configured to use the accounting dimension display logic utility in the following windows:
* Sales Order
* Purchase Order
* Sales Invoice
* Purchase Invoice
* Payment In (not affected as it has a hardcoded "DOCBASETYPE")
* Payment Out (not affected as it has a hardcoded "DOCBASETYPE")

The fix improves the SQL for getting the "DOCBASETYPE" auxiliary input in the affected windows, so in case the document type is null, a generic value (the most commonly used) is returned depending on the window:
* Sales Order: SOO
* Purchase Order: POO
* Sales Invoice: ARI
* Purchase Invoice: API

M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
dmiguelez (developer)
2015-10-05 17:00

Code Review + Testing Ok

- Issue History
Date Modified Username Field Change
2015-10-02 11:41 vmromanos Type defect => backport
2015-10-02 11:41 vmromanos Target Version => 3.0PR15Q3.2
2015-10-02 11:42 vmromanos Tag Attached: Approved
2015-10-05 17:00 hgbot Checkin
2015-10-05 17:00 hgbot Note Added: 0080830
2015-10-05 17:00 hgbot Status scheduled => resolved
2015-10-05 17:00 hgbot Resolution open => fixed
2015-10-05 17:00 hgbot Fixed in SCM revision => [^]
2015-10-05 17:00 dmiguelez Review Assigned To => dmiguelez
2015-10-05 17:00 dmiguelez Note Added: 0080831
2015-10-05 17:00 dmiguelez Status resolved => closed

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker