[IMP] on create meeting notification.

bzr revid: bth@tinyerp.com-20120306102343-h32fhvuzfpuynjtl
This commit is contained in:
Bhumi Thakkar (Open ERP)
2012-03-06 15:53:43 +05:30
parent da087c47b0
commit b0d0b176ab
+3
View File
@@ -101,6 +101,9 @@ class crm_meeting(crm_base, osv.osv):
for phonecall in phonecall_obj.browse(cr, uid, [newid], context=context):
phonecall.message_append_note('', message)
obj.message_append_note('', message, need_action_user_id=phonecall.user_id.id)
else:
message = _("<b>scheduled meeting on</b> %s.") % (obj.date)
obj.message_append_note('', message, need_action_user_id=obj.user_id.id)
def _case_close_notification(self, meeting, context=None):
meeting[0].message_mark_done(context)