Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007433Openbravo ERP01. General setuppublic2009-02-09 13:342009-02-20 14:48
plujan 
vmromanos 
normalmajorhave not tried
closedfixed 
30
pi 
pi2.50beta 
Core
No
0007433: Period Control filters for Periods is a combo that shows many repeated values
I create a couple of periods for an Organization. After that, I want to check period's status. By opening the filter on Enterprise > Organization > Organization > Period Control, I see several entries for each single period
1. Create two periods, 2008 and 2009
2. Go General Setup > Enterprise > Organization > Organization > Period Control
3. Open the filter and choose 2009 as Year.
4. A list of periods is displayed (see attach) but only one will work.
No tags attached.
related to defect 00058462.50 closed vmromanos Year record repeated several times 
png BUG_250_trunk_PeriodControl.PNG (25,593) 2009-02-09 13:34
https://issues.openbravo.com/file_download.php?file_id=818&type=bug
png
Issue History
2009-02-09 13:34plujanNew Issue
2009-02-09 13:34plujanAssigned To => vmromanos
2009-02-09 13:34plujansf_bug_id0 => 2581420
2009-02-09 13:34plujanFile Added: BUG_250_trunk_PeriodControl.PNG
2009-02-09 13:34plujanRegression testing => No
2009-02-09 15:19plujanStatusnew => scheduled
2009-02-09 15:19plujanfix_in_branch => trunk
2009-02-09 15:49rafarodaRelationship addedrelated to 0005846
2009-02-18 13:42vmromanosNote Added: 0013649
2009-02-19 18:10vmromanosNote Edited: 0013649
2009-02-19 18:27vmromanosNote Added: 0013758
2009-02-19 18:36svnbotCheckin
2009-02-19 18:36svnbotNote Added: 0013759
2009-02-19 18:36svnbotStatusscheduled => resolved
2009-02-19 18:36svnbotResolutionopen => fixed
2009-02-19 18:36svnbotsvn_revision => 13419
2009-02-20 14:48plujanStatusresolved => closed

Notes
(0013649)
vmromanos   
2009-02-18 13:42   
(edited on: 2009-02-19 18:10)
The actual steps to reproduce this bug are:
1- Create two calendars with the same year inside (example Cal1 and Cal2 with the year 2009)
2- Create two new legal entities with accounting and assign these two calendars (one per Organization)
3- Run the set as ready procedure for both organizations
4- Go the Period Control tab and click into the search button. The Period combobox will have the same periods twice.

(0013758)
vmromanos   
2009-02-19 18:27   
The Period column is defined as a Tabledir, so in some cases (like the one described into my previous note), we will see the repeated periods.

The way to fix this bug is not to define the Period field as a filter. Instead of it we will define the Starting Date as a filter. So the user will also be able to filter by periods (introducing the dates)
(0013759)
svnbot   
2009-02-19 18:36   
Repository: openbravo
Revision: 13419
Author: vmromanos
Date: 2009-02-19 18:35:54 +0100 (Thu, 19 Feb 2009)

Fixed bug 7433: Period Control filters for Periods is a combo that shows many repeated values

---
U trunk/src-db/database/sourcedata/AD_COLUMN.xml
---

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