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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022492
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2012-12-10 09:292012-12-11 17:54
ReportermiruritaView Statuspublic 
Assigned Tomirurita 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision3bc9eeaef28e
ProjectionnoneETAnoneTarget Version3.0MP18
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression levelPre packaging ( pi )
Regression date2012-11-23
Regression introduced in release
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/e383ce9084f1 [^]
Triggers an Emergency PackNo
Summary

0022492: User1 dimension client configuration not working: always applying header logic

DescriptionUser1 dimension client configuration not working: always applying header logic.

User1 session variables are populated using always the "show in header" flag configuration.

Steps To Reproduce1) Go to Client window and select ""F&B International Group"
2) Flag the following check-boxes:
  - 1st Dimension
  - Show in Lines
3) Log out and log in again
4) Go to sales invoice window
5) Create a new header and realize the "1st dimension" is not enabled. [OK]
6) Create a new line and realize the "1st dimension" is not enabled. This is wrong.
Proposed Solutiondiff --git a/src/org/openbravo/erpCommon/utility/DimensionDisplayUtility.java b/src/org/openbravo/erpCommon/utility/DimensionDisplayUtility.java
--- a/src/org/openbravo/erpCommon/utility/DimensionDisplayUtility.java
+++ b/src/org/openbravo/erpCommon/utility/DimensionDisplayUtility.java
@@ -331,9 +331,9 @@
                   if (DIM_Header.equals(levelValue)) {
                     isDisplayed = client.isUser1AcctdimHeader() ? "Y" : "N";
                   } else if (DIM_Lines.equals(levelValue)) {
- isDisplayed = client.isUser1AcctdimHeader() ? "Y" : "N";
+ isDisplayed = client.isUser1AcctdimLines() ? "Y" : "N";
                   } else if (DIM_BreakDown.equals(levelValue)) {
- isDisplayed = client.isUser1AcctdimHeader() ? "Y" : "N";
+ isDisplayed = client.isUser1AcctdimBreakdown() ? "Y" : "N";
                   }
                 }
               } else {
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0054786)
hgbot (developer)
2012-12-10 09:36

Repository: erp/devel/pi
Changeset: 3bc9eeaef28e25f7655e6901ad3916347040a5fa
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Mon Dec 10 09:36:10 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/3bc9eeaef28e25f7655e6901ad3916347040a5fa [^]

Fixes issue 22492: User1 dimension config always applies header logic

---
M src/org/openbravo/erpCommon/utility/DimensionDisplayUtility.java
---
(0054787)
mirurita (developer)
2012-12-10 09:39

Testing Plan
1) Go to Client window and select ""F&B International Group"
2) Flag the following check-boxes:
  - 1st Dimension
  - Show in Lines
3) Log out and log in again
4) Go to sales invoice window
5) Create a new header and realize the "1st dimension" is not enabled. [OK]
6) Create a new line and realize the "1st dimension" is not enabled. This is wrong. The "1st dimension" field should be displayed inside "Dimensions" section.
7) Go to Goods Receipt, Goods Shipment, Sales Order, Purchase Order lines tab and check whether "1st dimension" field is displayed.
(0054802)
Sandrahuguet (developer)
2012-12-10 13:13

Code review + testing OK
(0054860)
hudsonbot (developer)
2012-12-11 17:54

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/3b1b5e2f6c63 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-12-10 09:29 mirurita New Issue
2012-12-10 09:29 mirurita Assigned To => mirurita
2012-12-10 09:29 mirurita Modules => Core
2012-12-10 09:29 mirurita Triggers an Emergency Pack => No
2012-12-10 09:34 mirurita Regression level => Pre packaging ( pi )
2012-12-10 09:34 mirurita Regression date => 2012-11-23
2012-12-10 09:34 mirurita Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/e383ce9084f1 [^]
2012-12-10 09:34 mirurita Target Version => 3.0MP18
2012-12-10 09:36 hgbot Checkin
2012-12-10 09:36 hgbot Note Added: 0054786
2012-12-10 09:36 hgbot Status new => resolved
2012-12-10 09:36 hgbot Resolution open => fixed
2012-12-10 09:36 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3bc9eeaef28e25f7655e6901ad3916347040a5fa [^]
2012-12-10 09:39 mirurita Note Added: 0054787
2012-12-10 13:13 Sandrahuguet Note Added: 0054802
2012-12-10 13:13 Sandrahuguet Status resolved => closed
2012-12-11 17:54 hudsonbot Checkin
2012-12-11 17:54 hudsonbot Note Added: 0054860


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker