Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0000571Openbravo ERP01. General setuppublic2008-06-06 19:022008-07-01 17:56
psarobe 
alostale 
highmajoralways
closedfixed 
10xp
2.40alpha-r2 
2.402.40alpha-r3 
Core
No
0000571: Cannot see the region tab
It is not possible to see the region tab independently from the role you have

Please check if this behaviour can be reproduce on other windows
1. Go to General setup->Application->Country and regions
2. Select Spain
3. Move to Region tab. Cannot see anything

SEE ATTACH
No tags attached.
related to feature request 00052023.0MP19 closed AugustoMauch Implement display logic for tabs [No new BOM creation possible] 
png region.PNG (151,560) 2008-06-06 19:02
https://issues.openbravo.com/file_download.php?file_id=66&type=bug
png
Issue History
2008-06-06 19:02psarobeNew Issue
2008-06-06 19:02psarobeAssigned To => alostale
2008-06-06 19:02psarobeFile Added: region.PNG
2008-06-09 09:51cromeroStatusnew => scheduled
2008-06-09 10:56alostaleNote Added: 0000459
2008-06-09 10:56alostaleStatusscheduled => feedback
2008-06-09 13:11psarobeNote Added: 0000463
2008-06-09 13:11psarobeStatusfeedback => scheduled
2008-06-09 15:00alostaleNote Added: 0000467
2008-06-09 15:11svnbotCheckin
2008-06-09 15:11svnbotNote Added: 0000468
2008-06-09 15:11svnbotStatusscheduled => resolved
2008-06-09 15:11svnbotResolutionopen => fixed
2008-06-09 15:11svnbotsvn_revision => 4911
2008-06-10 13:15svnbotCheckin
2008-06-10 13:15svnbotNote Added: 0000478
2008-06-10 13:15svnbotsvn_revision4911 => 4923
2008-06-11 12:46cromeroTarget Version => 2.40
2008-06-11 14:33cromeroFixed in Version => 2.40alpha r3
2008-06-19 13:04plujanStatusresolved => closed
2008-07-01 17:56anonymoussf_bug_id0 => 2007935
2009-11-18 09:10rafarodaRelationship addedrelated to 0005202

Notes
(0000459)
alostale   
2008-06-09 10:56   
I've tested it in the current trunk revision and seems to work fine.

Just on comment: Is the country checked as "Has regions", if not display logic prevents to see any information in that tab.
(0000463)
psarobe   
2008-06-09 13:11   
Hi Asier,

The problem has to be with the session value "hasregion". When you select a country without entry in edit mode, the "hasregion" value is not being writing in the session value unless you entry in edit mode.
Steps to reproduce:
1. Login
2. Go to Country, regions. Using the search window write "United". Click OK
3. Select United kingdom (has region='N') in the grid and go to the regions. You don't see anything. That's correct
4. Move to Country and click search button and write "%sp%". Select spain but without entrying in edit mode. Move to regions
5. As the "hasregions" keeps False you cannot see anything in the region tab. That's wrong because Spain has "hasregion" = 'Y'
(0000467)
alostale   
2008-06-09 15:00   
This error was introduced with the fix for bug 1879633 [1] and its related one 1948895 [2] (r3636 and r3709). I'm going to revert this fix and reopen the bug.

The problem with this fix is because parent record is not loaded when tab is directly navigated to, this causes not to load parent session variables when parent was in relation mode (they are in memory when it is edition mode).

[1] http://sourceforge.net/tracker/index.php?func=detail&aid=1879633&group_id=162271&atid=823129 [^]
[2] http://sourceforge.net/tracker/index.php?func=detail&aid=1948895&group_id=162271&atid=823129 [^]
(0000468)
svnbot   
2008-06-09 15:11   
Repository: openbravo
Revision: 4911
Author: alostale
Date: 2008-06-09 15:11:22 +0200 (Mon, 09 Jun 2008)

fixed bug 0000571: reverted changes in r3636 and r3709, reopen bug [1879633]

---
U trunk/src-wad/src/org/openbravo/wad/Wad.java
U trunk/src-wad/src/org/openbravo/wad/javasource.javaxml
---

https://dev.openbravo.com/websvn/openbravo/?rev=4911&sc=1 [^]
(0000478)
svnbot   
2008-06-10 13:15   
Repository: openbravo
Revision: 4923
Author: alostale
Date: 2008-06-10 13:15:47 +0200 (Tue, 10 Jun 2008)

fixed bug 0000588: Search button in toolbar is not visible. This was due to the commit for issue 0000571

---
U trunk/src-wad/src/org/openbravo/wad/Wad.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=4923&sc=1 [^]