[IMP]: caldav: Remaining changes for private method
bzr revid: rpa@tinyerp.com-20100319104806-oahojw954wygoanq
This commit is contained in:
@@ -33,7 +33,8 @@ class calendar_event_import(osv.osv_memory):
|
||||
Import Calendar Event.
|
||||
"""
|
||||
cnt = 0
|
||||
def _process_imp_ics(self, cr, uid, ids, context=None):
|
||||
|
||||
def process_imp_ics(self, cr, uid, ids, context=None):
|
||||
"""
|
||||
Process Import ics File.
|
||||
@param cr: the current row, from the database cursor,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<separator string="" colspan="4" />
|
||||
<group colspan="4" col="6">
|
||||
<button icon="gtk-cancel" special="cancel" string="_Cancel"/>
|
||||
<button icon="gtk-ok" name="_process_imp_ics" string="_Import" type="object"/>
|
||||
<button icon="gtk-ok" name="process_imp_ics" string="_Import" type="object"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -34,7 +34,8 @@ class calendar_event_subscribe(osv.osv_memory):
|
||||
Subscribe Calendar Event.
|
||||
"""
|
||||
cnt = 0
|
||||
def _process_imp_ics(self, cr, uid, ids, context=None):
|
||||
|
||||
def process_imp_ics(self, cr, uid, ids, context=None):
|
||||
"""
|
||||
process ics file.
|
||||
@param cr: the current row, from the database cursor,
|
||||
@@ -85,5 +86,4 @@ class calendar_event_subscribe(osv.osv_memory):
|
||||
|
||||
calendar_event_subscribe()
|
||||
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<separator string="" colspan="4" />
|
||||
<group colspan="4" col="6">
|
||||
<button icon="gtk-cancel" special="cancel" string="_Cancel"/>
|
||||
<button icon="gtk-ok" name="_process_imp_ics" string="_Subscribe" type="object"/>
|
||||
<button icon="gtk-ok" name="process_imp_ics" string="_Subscribe" type="object"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user