[IMP]: base_calendar, crm_caldav: Minor improvements
authorrpa (Open ERP) <rpa@openerp.co.in>
Thu, 11 Feb 2010 09:14:55 +0000 (14:44 +0530)
committerrpa (Open ERP) <rpa@openerp.co.in>
Thu, 11 Feb 2010 09:14:55 +0000 (14:44 +0530)
bzr revid: rpa@openerp.co.in-20100211091455-4jcbscgn3zbmf73c

addons/base_calendar/wizard/wizard_cal_edit_event.py
addons/crm_caldav/crm_meeting_view.xml
addons/crm_caldav/crm_meeting_wizard.xml

index c7f4e44..c3ad48c 100644 (file)
@@ -24,7 +24,7 @@ import pooler
 
 class event_edit_this(wizard.interface):
     event_form = """<?xml version="1.0"?>
-                <form string="Edit Event">
+                <form string="Edit this Occurence">
                     <separator string="" colspan="4" />
                     <newline />
                     <field name='name' colspan="4" />
index 4405084..edd0e3c 100644 (file)
@@ -16,7 +16,7 @@
                                 <button string="Custom"
                                                        name="%(caldav.action_calendar_custom_rrule_wizard)d"
                                                        icon="gtk-save-as" type="action" context="{'model' : 'crm.meeting'}"
-                                    attrs="{'readonly': [('rrule_type','!=','custom')]}"
+                                    attrs="{'invisible': [('rrule_type','!=','custom')]}"
                                     />
                                 <button string="Edit" help="Edit only this Occurrency Meeting" attrs="{'invisible':[('rrule_type','in', ('none', False))]}"
                                        name="%(base_calendar.wizard_edit_this_event)d" icon="gtk-save"
index e53d311..a0f5177 100644 (file)
@@ -4,10 +4,6 @@
                <wizard string="Import .ics File" model="crm.meeting"
                        name="calendar.event.import" id="base_calendar.wizard_cal_event_import" />
 
-               <wizard string="Subscribe"
-                       model="crm.meeting" name="calendar.event.subscribe"
-                       id="base_calendar.wizard_cal_event_subscribe" />
-
                <wizard string="Export .ics File" model="crm.meeting"
                        name="calendar.event.export" id="base_calendar.wizard_cal_event_export" />