Openbravo Issue Tracking System - Modules
View Issue Details
0024114ModulesReservations modulepublic2013-06-18 11:182013-07-05 15:49
mensenjh 
jonalegriaesarte 
normaltrivialalways
newopen 
5
 
 
0024114: Default all resources are active in calendar
By default ALL resources are selected in calendar view. This causes a very cluttered screen when users have access to multiple resources.

Preference is to default deselect all and let user activate ones he is itnersted in.
By default ALL resources are selected in calendar view. This causes a very cluttered screen when users have access to multiple resources.

Preference is to default deselect all and let user activate ones he is intersted in.

This provides a softer landing for inexperienced users.
By default ALL resources are selected in calendar view. This causes a very cluttered screen when users have access to multiple resources.

Preference is to default deselect all and let user activate ones he is intersted in.

This provides a softer landing for inexperienced users.
No tags attached.
Issue History
2013-06-18 11:18mensenjhNew Issue
2013-06-18 11:18mensenjhAssigned To => jonalegriaesarte
2013-06-18 15:21dbazIssue Monitored: dbaz
2013-06-24 21:51dbazNote Added: 0059655
2013-06-24 21:51dbazTypedesign defect => feature request
2013-07-05 14:50mensenjhNote Added: 0059899
2013-07-05 15:49dbazNote Added: 0059902

Notes
(0059655)
dbaz   
2013-06-24 21:51   
The actual behavior is the expected one, so moving to feature request
(0059899)
mensenjh   
2013-07-05 14:50   
Can you indicate where we have to make the adjustment so we can modify ourselves?
(0059902)
dbaz   
2013-07-05 15:49   
Here it is:

diff --git a/src/org/openbravo/module/resources/calendar/ResourcesCalendarActionHandler.java b/src/org/openbravo/module/resources/calendar/ResourcesCalendarActionHandler.java
--- a/src/org/openbravo/module/resources/calendar/ResourcesCalendarActionHandler.java
+++ b/src/org/openbravo/module/resources/calendar/ResourcesCalendarActionHandler.java
@@ -143,6 +143,7 @@
         calendarItem.put("filterId", qryCalendarDataObjectItem[1]);
         calendarItem.put("name", qryCalendarDataObjectItem[2]);
         calendarItem.put("calendarGroupId", qryCalendarDataObjectItem[3]);
+ calendarItem.put("checked", false);
         calendars.put(calendarItem);
 
         boolean userBPClientEqualsLoggedClient;