Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029661Openbravo ERPB. User interfacepublic2015-04-22 08:482015-05-07 22:16
caristu 
caristu 
highminoralways
closedfixed 
5
 
3.0PR15Q3 
alostale
Core
No
0029661: Dates are not cleared properly when switching between saved views that contains a filter on the same date field
Dates are not cleared properly when switching between saved views that contains a filter on the same date field. In that circumstances, after changing the view it can happen that the displayed date range shows information of the previous saved view.
1) Go to the Purchase Order window
2) Remove the implicit filter and add a filter in the order date field, for example: "From 20-04-2013 To 22-04-2013". Save the view and set it as defaut.
3) Remove the filters to create a new saved view. Add the following filter in the order date field: "From: 21-04-2013"
4) Close the window and reopen it again. The window is loaded with the view created in step 2)
5) Switch the view to show the saved view created in step 3). Notice that the range filter displayed in the sales order field is "From 21-04-2013 To 22-04-2013". It should show only "From 21-04-2013"
Clear the range item before setting the new criteria
No tags attached.
related to defect 00295543.0PR15Q3 closed caristu Date filters are not cleared when switching between saved views 
Issue History
2015-04-22 08:48caristuNew Issue
2015-04-22 08:48caristuAssigned To => platform
2015-04-22 08:48caristuModules => Core
2015-04-22 08:48caristuTriggers an Emergency Pack => No
2015-04-22 08:48caristuAssigned Toplatform => caristu
2015-04-22 08:49caristuIssue Monitored: networkb
2015-04-22 08:49caristuRelationship addedrelated to 0029554
2015-04-22 08:50caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8323#r8323
2015-04-22 20:08caristuReview Assigned To => alostale
2015-04-22 20:08caristuIssue Monitored: alostale
2015-04-22 20:12hgbotCheckin
2015-04-22 20:12hgbotNote Added: 0076707
2015-04-22 20:12hgbotStatusnew => resolved
2015-04-22 20:12hgbotResolutionopen => fixed
2015-04-22 20:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ab67d1e3012a6d803cca58d6f6d934ab25782117 [^]
2015-04-24 14:13alostaleNote Added: 0076755
2015-04-24 14:13alostaleStatusresolved => closed
2015-04-24 14:13alostaleFixed in Version => 3.0PR15Q3
2015-05-07 22:16hudsonbotCheckin
2015-05-07 22:16hudsonbotNote Added: 0077146

Notes
(0076707)
hgbot   
2015-04-22 20:12   
Repository: erp/devel/pi
Changeset: ab67d1e3012a6d803cca58d6f6d934ab25782117
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Apr 22 20:11:58 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ab67d1e3012a6d803cca58d6f6d934ab25782117 [^]

fixes issue 29661: Date filters not cleared after switch between saved views

Date filters were not cleared properly when switching between saved views that contains a filter on the same date field.
To solve this problem the range is now cleared before applying the criteria

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
---
(0076755)
alostale   
2015-04-24 14:13   
code reviewed

Tested by switching from:
- saved view to standard
- standard to saved
- setting a default view different than standard
(0077146)
hudsonbot   
2015-05-07 22:16   
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/a1817f84bd8b [^]
Maturity status: Test