[FIX] - Fixed syntax error.

This commit is contained in:
Glen Sojo 2015-07-27 15:06:29 -06:00
parent 6c3c149b7e
commit 13bfa609a5

View File

@ -60,11 +60,11 @@ class document_page_history_wkfl(models.Model):
cr, SUPERUSER_ID, 'mail', 'mt_comment')[1] cr, SUPERUSER_ID, 'mail', 'mt_comment')[1]
message_obj.create( message_obj.create(
cr, uid, { cr, uid, {
'res_id': page_history.page_id.id, 'res_id': page_history.page_id.id,
'model': 'document.page', 'model': 'document.page',
'subtype_id': subtype_id, 'subtype_id': subtype_id,
'body': _('New version of the document %s' 'body': _('New version of the document %s'
' approved.') % page_history.page_id.name ' approved.') % page_history.page_id.name
}) })
return True return True