[FIX] crm_meeting: added missing variable initialization.

bzr revid: tde@openerp.com-20120320155444-38yw4iwxg7l9507k
This commit is contained in:
Thibault Delavallée 2012-03-20 16:54:44 +01:00
parent 79aad6b4ab
commit 760f133a22
1 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,8 @@ class crm_meeting(crm_base, osv.osv):
phonecall = meeting.phonecall_id
parent_message = _("Meeting linked to the phonecall <em>%s</em> has been <b>created</b> and <b>cscheduled</b> on <em>%s</em>.") % (phonecall.name, meeting.date)
phonecall.message_append_note('System Notification', message)
else:
parent_message = message
if parent_message:
meeting.message_append_note('System Notification', parent_message)
return True