[IMP]: delete default date from context ,that will display meeting start date in chatter instead of create date

bzr revid: aja@tinyerp.com-20130814093549-lx8njmumr2e4me8v
This commit is contained in:
ajay javiya (OpenERP)
2013-08-14 15:05:49 +05:30
parent 47196a6e8f
commit da848ac73e
+2
View File
@@ -168,6 +168,8 @@ class crm_meeting(base_state, osv.Model):
subtype=None, parent_id=False, attachments=None, context=None, **kwargs):
if isinstance(thread_id, str):
thread_id = get_real_ids(thread_id)
if context.get('default_date'):
del context['default_date']
return super(crm_meeting, self).message_post(cr, uid, thread_id, body=body, subject=subject, type=type, subtype=subtype, parent_id=parent_id, attachments=attachments, context=context, **kwargs)
def do_decline(self, cr, uid, ids, context=None, *args):