[IMP]: base_calendar: removed _ from function called from button

bzr revid: atp@tinyerp.co.in-20100311132500-u20yt7frb0in5bpw
This commit is contained in:
atp (Open ERP) 2010-03-11 18:55:00 +05:30
parent 3d052f10fd
commit b7e960c1ee
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ class calendar_event_edit_all(osv.osv_memory):
event = model_obj.read(cr, uid, context['active_id'], ['name', 'location', 'alarm_id'])
return event['date_deadline']
def _modify_this(self, cr, uid, ids, context=None):
def modify_this(self, cr, uid, ids, context=None):
"""
Modify All event for Crm Meeting.
@param cr: the current row, from the database cursor,

View File

@ -22,7 +22,7 @@
<separator string="" colspan="4" />
<group colspan="4" col="6">
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
<button icon="gtk-save" string="_Save" name="_modify_this" type="object"/>
<button icon="gtk-save" string="_Save" name="modify_this" type="object"/>
</group>
</form>
</field>