[IMP] Crm meetings calendar view now uses new context key: 'calendar_default_<field>'
authorFabien Meghazi <fme@openerp.com>
Thu, 12 Jan 2012 11:14:31 +0000 (12:14 +0100)
committerFabien Meghazi <fme@openerp.com>
Thu, 12 Jan 2012 11:14:31 +0000 (12:14 +0100)
Note: this change needs web client Revision:
1946 revid:fme@openerp.com-20120112110953-6aqfd7nrzgp538br

bzr revid: fme@openerp.com-20120112111431-6nzqjti316zsqaw0

addons/crm/crm_meeting_menu.xml

index 338579a..af50149 100644 (file)
@@ -51,7 +51,7 @@
         <field name="res_model">crm.meeting</field>
         <field name="view_mode">calendar,tree,form,gantt</field>
         <field name="view_id" ref="crm_case_calendar_view_meet"/>
-        <field name="context">{"search_default_user_id":uid, 'search_default_section_id': section_id}</field>
+        <field name="context">{"calendar_default_user_id":uid}</field>
         <field name="search_view_id" ref="view_crm_case_meetings_filter"/>
         <field name="help">The meeting calendar is shared between the sales teams and fully integrated with other applications such as the employee holidays or the business opportunities. You can also synchronize meetings with your mobile phone using the caldav interface.
         </field>